Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007533/0.007533, allocations: 97.62 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001995, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.83 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6463, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1885/0.8348, allocations: 170.3 MB / 1.386 GB, free: 7.039 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006929/0.8417, allocations: 6.003 MB / 1.392 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.842, allocations: 8 kB / 1.392 GB, free: 1.012 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.8425, allocations: 186.7 kB / 1.393 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.8429, allocations: 91.38 kB / 1.393 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.844, allocations: 0.5216 MB / 1.393 GB, free: 220 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.8446, allocations: 422.6 kB / 1.394 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.8449, allocations: 146.2 kB / 1.394 GB, free: 15.65 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.8452, allocations: 179.4 kB / 1.394 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.8455, allocations: 159.3 kB / 1.394 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.8455, allocations: 16 kB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.8463, allocations: 458.8 kB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.8465, allocations: 71.8 kB / 1.395 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.8466, allocations: 103.5 kB / 1.395 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.8473, allocations: 455.3 kB / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8473, allocations: 0 / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8473, allocations: 0 / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.8473, allocations: 0 / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006516/0.848, allocations: 0.5219 MB / 1.396 GB, free: 13.67 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.848, allocations: 12.03 kB / 1.396 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.8481, allocations: 66.53 kB / 1.396 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.8484, allocations: 43.84 kB / 1.396 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.8487, allocations: 262.6 kB / 1.396 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.8489, allocations: 139.4 kB / 1.396 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.849, allocations: 20 kB / 1.396 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.8494, allocations: 290.8 kB / 1.396 GB, free: 12.74 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.8495, allocations: 4 kB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.8495, allocations: 19.88 kB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8495, allocations: 8 kB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.8499, allocations: 152.6 kB / 1.397 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.8513, allocations: 1.587 MB / 1.398 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.8514, allocations: 173.1 kB / 1.398 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.8515, allocations: 80.14 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.8515, allocations: 79.22 kB / 1.398 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.8516, allocations: 109.8 kB / 1.399 GB, free: 10.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8516, allocations: 0 / 1.399 GB, free: 10.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 9.438e-05/0.8517, allocations: 49.61 kB / 1.399 GB, free: 10.37 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.8518, allocations: 126.7 kB / 1.399 GB, free: 10.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.8522, allocations: 314.6 kB / 1.399 GB, free: 9.922 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.8522, allocations: 25.7 kB / 1.399 GB, free: 9.891 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.8523, allocations: 195.7 kB / 1.399 GB, free: 9.695 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-06/0.8523, allocations: 0 / 1.399 GB, free: 9.695 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.8524, allocations: 45.66 kB / 1.399 GB, free: 9.645 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8526, allocations: 330.8 kB / 1.4 GB, free: 9.312 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.8527, allocations: 39.98 kB / 1.4 GB, free: 9.273 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.8529, allocations: 167.3 kB / 1.4 GB, free: 9.051 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.8531, allocations: 196.9 kB / 1.4 GB, free: 8.797 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8532, allocations: 0 / 1.4 GB, free: 8.797 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000436/0.8536, allocations: 217.1 kB / 1.4 GB, free: 8.578 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8536, allocations: 13.97 kB / 1.4 GB, free: 8.566 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8536, allocations: 4.625 kB / 1.4 GB, free: 8.562 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8537, allocations: 4 kB / 1.4 GB, free: 8.559 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.8538, allocations: 43.92 kB / 1.4 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.8538, allocations: 7.938 kB / 1.4 GB, free: 8.508 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.854, allocations: 35.73 kB / 1.4 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.8541, allocations: 8 kB / 1.4 GB, free: 8.465 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.8542, allocations: 221 kB / 1.4 GB, free: 8.238 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.8543, allocations: 132.8 kB / 1.401 GB, free: 8.102 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.8544, allocations: 125.6 kB / 1.401 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.689e-05/0.8545, allocations: 184.2 kB / 1.401 GB, free: 7.785 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-05/0.8546, allocations: 180.2 kB / 1.401 GB, free: 7.602 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/0.8547, allocations: 188.1 kB / 1.401 GB, free: 7.41 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.855, allocations: 473.1 kB / 1.402 GB, free: 6.891 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.8551, allocations: 109 kB / 1.402 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.8551, allocations: 116.9 kB / 1.402 GB, free: 6.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.352e-05/0.8552, allocations: 180.2 kB / 1.402 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.8553, allocations: 184.2 kB / 1.402 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.35e-05/0.8554, allocations: 180.3 kB / 1.402 GB, free: 6.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-05/0.8554, allocations: 176.3 kB / 1.403 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.8556, allocations: 323.7 kB / 1.403 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.8558, allocations: 214.1 kB / 1.403 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.8559, allocations: 180.2 kB / 1.403 GB, free: 5.164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.856, allocations: 109 kB / 1.403 GB, free: 5.051 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.8561, allocations: 192.2 kB / 1.404 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.8561, allocations: 105 kB / 1.404 GB, free: 4.746 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002625/0.8564, allocations: 217.9 kB / 1.404 GB, free: 4.531 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8564, allocations: 0 / 1.404 GB, free: 4.531 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003586/0.8568, allocations: 51.92 kB / 1.404 GB, free: 4.48 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/0.8574, allocations: 0.8597 MB / 1.405 GB, free: 3.594 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.8576, allocations: 84.02 kB / 1.405 GB, free: 3.512 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8576, allocations: 0 / 1.405 GB, free: 3.512 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.8576, allocations: 4 kB / 1.405 GB, free: 3.508 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.8581, allocations: 489.2 kB / 1.405 GB, free: 3.027 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.8609, allocations: 2.499 MB / 1.408 GB, free: 336 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.8613, allocations: 0.7436 MB / 1.408 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.8615, allocations: 33.94 kB / 1.409 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.8616, allocations: 55.42 kB / 1.409 GB, free: 15.47 MB / 1.139 GB Notification: Performance of SimCode: time 2.51e-07/0.8616, allocations: 0 / 1.409 GB, free: 15.47 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.8869, allocations: 4.047 MB / 1.413 GB, free: 11.52 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.638, allocations: 16.97 kB / 1.413 GB, free: 11.51 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches