Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.008369/0.008369, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001957/0.001957, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.14 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006311/0.3473, allocations: 3.729 MB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.3476, allocations: 155.5 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.3476, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.3478, allocations: 7.938 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.3479, allocations: 11.91 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3483, allocations: 82.25 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.3484, allocations: 31.86 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3485, allocations: 4 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.907e-05/0.3485, allocations: 23.91 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.3486, allocations: 11.98 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3486, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.3493, allocations: 191.4 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.3494, allocations: 7.984 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.3494, allocations: 7.938 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3495, allocations: 44.17 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3495, allocations: 0 / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.64e-06/0.3496, allocations: 0 / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3496, allocations: 3.938 kB / 1.211 GB, free: 5.805 MB / 0.9669 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.0004287/0.35, allocations: 339.5 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3501, allocations: 12.56 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.3501, allocations: 34.75 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3501, allocations: 0.9375 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3503, allocations: 172.3 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.3503, allocations: 30.27 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3504, allocations: 4.125 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3505, allocations: 37.69 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3505, allocations: 4 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3506, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3506, allocations: 4 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.3506, allocations: 19.92 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.3511, allocations: 341.9 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.3512, allocations: 14.58 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.3512, allocations: 12.92 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.3513, allocations: 81.11 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3514, allocations: 34.55 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3514, allocations: 0 / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.3515, allocations: 41.64 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3516, allocations: 51.41 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.3517, allocations: 109.8 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3517, allocations: 29.83 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3518, allocations: 88.05 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.3518, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3518, allocations: 17.72 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.352, allocations: 318.8 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.352, allocations: 4 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.352, allocations: 13.72 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.3521, allocations: 29.64 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3521, allocations: 0 / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.702e-05/0.3522, allocations: 45.7 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3522, allocations: 7.938 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3522, allocations: 4 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3522, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.3523, allocations: 11.98 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3523, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.3523, allocations: 7.969 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3524, allocations: 7.938 kB / 1.213 GB, free: 3.629 MB / 0.9669 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 8.334e-05/0.3524, allocations: 113.8 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3525, allocations: 0 / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3526, allocations: 117 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/0.3527, allocations: 180.2 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.799e-05/0.3528, allocations: 184.3 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/0.3528, allocations: 184.2 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3531, allocations: 405.2 kB / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/0.3531, allocations: 108.9 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.3532, allocations: 105 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.416e-05/0.3533, allocations: 176.3 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.3534, allocations: 188.2 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.58e-05/0.3534, allocations: 176.3 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.897e-05/0.3535, allocations: 180.2 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3537, allocations: 311.8 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.3538, allocations: 190 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.3538, allocations: 176.3 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.354, allocations: 112.9 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3541, allocations: 180.3 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.3541, allocations: 101 kB / 1.216 GB, free: 300 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.3542, allocations: 83.27 kB / 1.216 GB, free: 216 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3542, allocations: 8 kB / 1.216 GB, free: 208 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002529/0.3545, allocations: 15.88 kB / 1.216 GB, free: 192 kB / 0.9669 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.0006028/0.3551, allocations: 0.8359 MB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.3552, allocations: 19.98 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3552, allocations: 3.938 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3552, allocations: 0 / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3556, allocations: 455.9 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3567, allocations: 1.321 MB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.357, allocations: 0.6729 MB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.357, allocations: 8.75 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3571, allocations: 11.38 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3571, allocations: 0 / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.3761, allocations: 1.536 MB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.966, allocations: 10.09 kB / 1.221 GB, free: 11.33 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches