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.004706/0.004706, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001119/0.001119, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.84 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006053/0.3445, allocations: 3.734 MB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.3448, allocations: 147.5 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.3448, allocations: 7.938 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3449, allocations: 8 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.345, allocations: 11.91 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3454, allocations: 75.75 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.3456, allocations: 31.86 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.3456, allocations: 7.984 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.3457, allocations: 15.92 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.3458, allocations: 19.94 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3458, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.3464, allocations: 191.4 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.3465, allocations: 4 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3465, allocations: 19.91 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3467, allocations: 36.19 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3467, allocations: 4 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3467, allocations: 0 / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3467, allocations: 0 / 1.211 GB, free: 5.852 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.0004324/0.3471, allocations: 339.5 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3472, allocations: 8.625 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.3472, allocations: 30.75 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.3473, allocations: 8.875 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3474, allocations: 164.3 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.3475, allocations: 34.23 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3475, allocations: 8.125 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3476, allocations: 45.62 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3477, allocations: 4 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3477, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.3477, allocations: 7.938 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.3477, allocations: 11.98 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.3482, allocations: 337.9 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.3482, allocations: 14.58 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.3483, allocations: 8.922 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/0.3484, allocations: 93.05 kB / 1.213 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3484, allocations: 30.56 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3484, allocations: 0 / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.3486, allocations: 37.69 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3486, allocations: 51.41 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.3487, allocations: 101.8 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3487, allocations: 25.7 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.3487, allocations: 92.17 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.3488, allocations: 4 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.3488, allocations: 13.72 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.3489, allocations: 314.8 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.3489, allocations: 15.92 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.349, allocations: 13.72 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.349, allocations: 21.72 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.349, allocations: 0 / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.696e-05/0.3491, allocations: 49.91 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3491, allocations: 4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3491, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3491, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.3492, allocations: 11.98 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3492, allocations: 0 / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3492, allocations: 11.95 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3492, allocations: 8 kB / 1.213 GB, free: 3.684 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 6.983e-05/0.3493, allocations: 109.8 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3493, allocations: 3.938 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3495, allocations: 127.6 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/0.3495, allocations: 176.3 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.362e-05/0.3496, allocations: 188.2 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.3496, allocations: 176.3 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3498, allocations: 409.2 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.3499, allocations: 104.9 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.3499, allocations: 105 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.35, allocations: 180.2 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.35, allocations: 188.3 kB / 1.215 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.328e-05/0.3501, allocations: 176.3 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-05/0.3501, allocations: 184.2 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3503, allocations: 311.7 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3503, allocations: 190 kB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.3504, allocations: 184.2 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3506, allocations: 109 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3507, allocations: 176.3 kB / 1.216 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.3508, allocations: 104.9 kB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.3508, allocations: 87.27 kB / 1.216 GB, free: 256 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3508, allocations: 4 kB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000246/0.3511, allocations: 19.88 kB / 1.216 GB, free: 232 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.0005344/0.3516, allocations: 0.8282 MB / 1.217 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.3517, allocations: 15.94 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3517, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.3517, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3521, allocations: 465.6 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.3531, allocations: 1.317 MB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3534, allocations: 0.6767 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.3534, allocations: 4 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.3534, allocations: 11.44 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of SimCode: time 2.184e-06/0.3534, allocations: 0 / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.37, allocations: 1.541 MB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.894, allocations: 7.844 kB / 1.221 GB, free: 11.38 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