Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.09 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5479, allocations: 140.4 MB / 0.9497 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004289/0.5522, allocations: 3.72 MB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.5524, allocations: 158.2 kB / 0.9535 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.5524, allocations: 0 / 0.9535 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.261e-05/0.5525, allocations: 3.938 kB / 0.9535 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.5526, allocations: 10.88 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.5528, allocations: 86.47 kB / 0.9536 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.5529, allocations: 26.08 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.553, allocations: 9.125 kB / 0.9536 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.553, allocations: 17.25 kB / 0.9536 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.5531, allocations: 14.72 kB / 0.9537 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.5531, allocations: 1.094 kB / 0.9537 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.5535, allocations: 195.5 kB / 0.9538 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.5536, allocations: 2.312 kB / 0.9538 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.5536, allocations: 9.328 kB / 0.9539 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.5538, allocations: 44.92 kB / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5538, allocations: 0 / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5538, allocations: 0 / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.5538, allocations: 1.531 kB / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003215/0.5541, allocations: 331.4 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5542, allocations: 9.562 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.5542, allocations: 40.16 kB / 0.9543 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.5542, allocations: 2.406 kB / 0.9543 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.5543, allocations: 165.7 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.5544, allocations: 35.59 kB / 0.9545 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.5544, allocations: 9.641 kB / 0.9545 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5545, allocations: 38.34 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5545, allocations: 0 / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5545, allocations: 1.406 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.5546, allocations: 1.406 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.5546, allocations: 20.64 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.555, allocations: 344.8 kB / 0.9549 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.061e-05/0.555, allocations: 16.08 kB / 0.9549 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.555, allocations: 6.922 kB / 0.9549 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.5551, allocations: 82.2 kB / 0.955 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5551, allocations: 35.62 kB / 0.955 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5551, allocations: 3.938 kB / 0.955 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.5553, allocations: 43.72 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5553, allocations: 52.47 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.5554, allocations: 103.2 kB / 0.9552 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.5554, allocations: 26.8 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.5554, allocations: 85.14 kB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.5554, allocations: 5.094 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.5554, allocations: 21.66 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.5555, allocations: 318.8 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.5555, allocations: 3.188 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.5555, allocations: 14.06 kB / 0.9556 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.5556, allocations: 23.66 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5556, allocations: 0 / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.508e-05/0.5556, allocations: 54.91 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5557, allocations: 7.031 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.5557, allocations: 0 / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5557, allocations: 5.062 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/0.5557, allocations: 8.953 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5557, allocations: 3.938 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.5558, allocations: 2.469 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.5558, allocations: 1.062 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.868e-05/0.5558, allocations: 116.2 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.5559, allocations: 5.156 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.5559, allocations: 118.3 kB / 0.956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.556, allocations: 181.4 kB / 0.9561 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.556, allocations: 177.5 kB / 0.9563 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.556, allocations: 185.6 kB / 0.9565 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.5562, allocations: 411.7 kB / 0.9569 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.5562, allocations: 106.2 kB / 0.957 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.5562, allocations: 110.2 kB / 0.9571 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/0.5562, allocations: 180.3 kB / 0.9573 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.5563, allocations: 181.4 kB / 0.9574 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/0.5563, allocations: 185.6 kB / 0.9576 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-05/0.5563, allocations: 177.6 kB / 0.9578 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.5564, allocations: 312.1 kB / 0.9581 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.5564, allocations: 183.5 kB / 0.9582 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.5565, allocations: 185.3 kB / 0.9584 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5566, allocations: 111.8 kB / 0.9585 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.5567, allocations: 181.7 kB / 0.9587 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.5567, allocations: 109 kB / 0.9588 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.5567, allocations: 84.8 kB / 0.9589 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5567, allocations: 0 / 0.9589 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002305/0.5569, allocations: 19.94 kB / 0.9589 GB, free: 0.5234 MB / 0.7169 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.0003777/0.5573, allocations: 0.8307 MB / 0.9597 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.424e-05/0.5574, allocations: 11.25 kB / 0.9597 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5574, allocations: 0 / 0.9597 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5574, allocations: 4.125 kB / 0.9597 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.5578, allocations: 464.5 kB / 0.9602 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.5586, allocations: 1.315 MB / 0.9615 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5588, allocations: 0.6801 MB / 0.9621 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.5589, allocations: 3.656 kB / 0.9621 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.5589, allocations: 9.906 kB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.5589, allocations: 3.938 kB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.818, allocations: 1.501 MB / 0.9636 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/9.241, allocations: 15.16 kB / 0.9636 GB, free: 12.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches