Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.008371/0.008371, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002129/0.002129, allocations: 198.3 kB / 16.68 MB, free: 5.957 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 1.054 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.962, allocations: 157.4 MB / 1.207 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006545/0.9686, allocations: 4.031 MB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.9689, allocations: 147.5 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.9689, allocations: 0 / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.9691, allocations: 3.938 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.9692, allocations: 19.91 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.9696, allocations: 79.69 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.9697, allocations: 31.86 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.9698, allocations: 8 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.9698, allocations: 19.91 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.9699, allocations: 12 kB / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.9699, allocations: 0 / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.9702, allocations: 55.8 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.9703, allocations: 11.98 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.9703, allocations: 7.938 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.9705, allocations: 50.14 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9705, allocations: 3.938 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9705, allocations: 0 / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.9705, allocations: 4 kB / 1.212 GB, free: 9.129 MB / 0.9356 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.0004177/0.9709, allocations: 335.4 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.971, allocations: 8.031 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.971, allocations: 38.73 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.9711, allocations: 0.9375 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.9712, allocations: 160.4 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/0.9713, allocations: 30.27 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.9713, allocations: 12.11 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.9714, allocations: 45.69 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9714, allocations: 3.938 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9715, allocations: 0 / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.9715, allocations: 4 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.9715, allocations: 19.92 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.972, allocations: 334 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.9721, allocations: 14.58 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.9721, allocations: 16.92 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.9722, allocations: 85.09 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9722, allocations: 30.56 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9722, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.9724, allocations: 37.64 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.9724, allocations: 55.41 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.9725, allocations: 102 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9725, allocations: 29.7 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.9726, allocations: 92.03 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.9726, allocations: 3.906 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.9726, allocations: 17.7 kB / 1.213 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9728, allocations: 318.8 kB / 1.213 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.9728, allocations: 4 kB / 1.213 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.9728, allocations: 17.7 kB / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.9729, allocations: 29.66 kB / 1.213 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9729, allocations: 3.938 kB / 1.213 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.813e-05/0.973, allocations: 49.62 kB / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.973, allocations: 4 kB / 1.213 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.973, allocations: 0 / 1.213 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.973, allocations: 4 kB / 1.213 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.9731, allocations: 4 kB / 1.213 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.9731, allocations: 4.062 kB / 1.213 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.9731, allocations: 3.938 kB / 1.213 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.9731, allocations: 4 kB / 1.213 GB, free: 6.961 MB / 0.9356 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 7.287e-05/0.9732, allocations: 109.8 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.9733, allocations: 7.984 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.9734, allocations: 120.8 kB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/0.9734, allocations: 184.3 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-05/0.9735, allocations: 176.3 kB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/0.9736, allocations: 184.2 kB / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.9738, allocations: 409.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/0.9739, allocations: 104.9 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.9739, allocations: 105 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.196e-05/0.974, allocations: 184.3 kB / 1.215 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.974, allocations: 180.2 kB / 1.215 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.384e-05/0.9741, allocations: 180.3 kB / 1.215 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.658e-05/0.9742, allocations: 188.1 kB / 1.215 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.9743, allocations: 311.8 kB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.9744, allocations: 182.3 kB / 1.216 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.9745, allocations: 184.2 kB / 1.216 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.9747, allocations: 108.9 kB / 1.216 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.9747, allocations: 180.2 kB / 1.216 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.9748, allocations: 105 kB / 1.216 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.9748, allocations: 91.28 kB / 1.217 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9748, allocations: 3.938 kB / 1.217 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002561/0.9751, allocations: 19.94 kB / 1.217 GB, free: 3.496 MB / 0.9356 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.0005745/0.9757, allocations: 0.8205 MB / 1.217 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.014e-05/0.9758, allocations: 15.92 kB / 1.217 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9758, allocations: 0 / 1.217 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.9758, allocations: 3.938 kB / 1.217 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.9762, allocations: 459.7 kB / 1.218 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.9773, allocations: 1.329 MB / 1.219 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.9775, allocations: 0.669 MB / 1.22 GB, free: 64 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.9776, allocations: 4 kB / 1.22 GB, free: 60 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.9776, allocations: 15.42 kB / 1.22 GB, free: 48 kB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.9776, allocations: 4 kB / 1.22 GB, free: 44 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.9973, allocations: 1.509 MB / 1.221 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/8.399, allocations: 14.16 kB / 1.221 GB, free: 14.64 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches