Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 115.1 kB / 16.42 MB, free: 6.48 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.001875/0.001875, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6733, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1395/0.8129, allocations: 147.8 MB / 1.371 GB, free: 9.066 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.813, allocations: 55.73 kB / 1.371 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.8131, allocations: 4 kB / 1.371 GB, free: 9.012 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.8132, allocations: 7.922 kB / 1.371 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.8133, allocations: 11.92 kB / 1.371 GB, free: 8.992 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.8137, allocations: 111.6 kB / 1.371 GB, free: 8.883 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.8138, allocations: 27.86 kB / 1.371 GB, free: 8.855 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.8139, allocations: 11.98 kB / 1.371 GB, free: 8.844 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.8139, allocations: 15.98 kB / 1.371 GB, free: 8.828 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.814, allocations: 7.984 kB / 1.371 GB, free: 8.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.814, allocations: 4 kB / 1.371 GB, free: 8.816 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.8143, allocations: 87.66 kB / 1.371 GB, free: 8.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.8143, allocations: 11.98 kB / 1.371 GB, free: 8.719 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.8144, allocations: 11.98 kB / 1.371 GB, free: 8.707 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8145, allocations: 76.34 kB / 1.371 GB, free: 8.637 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8145, allocations: 3.938 kB / 1.371 GB, free: 8.633 MB / 1.092 GB Notification: Performance of FrontEnd: time 7.92e-07/0.8145, allocations: 0 / 1.371 GB, free: 8.633 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8146, allocations: 0 / 1.371 GB, free: 8.633 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003498/0.8149, allocations: 335.5 kB / 1.371 GB, free: 8.258 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.815, allocations: 8.031 kB / 1.371 GB, free: 8.25 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.8152, allocations: 16.92 kB / 1.371 GB, free: 8.234 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.8153, allocations: 172.3 kB / 1.372 GB, free: 8.027 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.8154, allocations: 33.62 kB / 1.372 GB, free: 7.988 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.8154, allocations: 0 / 1.372 GB, free: 7.988 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.8155, allocations: 53.67 kB / 1.372 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.8155, allocations: 0 / 1.372 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8155, allocations: 0 / 1.372 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.8156, allocations: 4 kB / 1.372 GB, free: 7.926 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.333e-05/0.8156, allocations: 19.92 kB / 1.372 GB, free: 7.906 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.816, allocations: 256.9 kB / 1.372 GB, free: 7.605 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.816, allocations: 26.52 kB / 1.372 GB, free: 7.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.816, allocations: 4.859 kB / 1.372 GB, free: 7.562 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.816, allocations: 0 / 1.372 GB, free: 7.562 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.8161, allocations: 30.62 kB / 1.372 GB, free: 7.523 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8161, allocations: 4 kB / 1.372 GB, free: 7.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.8162, allocations: 41.62 kB / 1.372 GB, free: 7.473 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.8162, allocations: 51.41 kB / 1.372 GB, free: 7.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.8163, allocations: 117.9 kB / 1.372 GB, free: 7.285 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.8163, allocations: 25.7 kB / 1.372 GB, free: 7.254 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.8164, allocations: 95.98 kB / 1.372 GB, free: 7.156 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-06/0.8164, allocations: 0 / 1.372 GB, free: 7.156 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.8164, allocations: 21.67 kB / 1.372 GB, free: 7.129 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.8165, allocations: 310.8 kB / 1.373 GB, free: 6.816 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.8166, allocations: 7.984 kB / 1.373 GB, free: 6.809 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.8166, allocations: 26.58 kB / 1.373 GB, free: 6.773 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.8166, allocations: 30.52 kB / 1.373 GB, free: 6.734 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.8167, allocations: 3.984 kB / 1.373 GB, free: 6.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.351e-05/0.8167, allocations: 49.64 kB / 1.373 GB, free: 6.676 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.8168, allocations: 4 kB / 1.373 GB, free: 6.672 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8168, allocations: 4 kB / 1.373 GB, free: 6.668 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8168, allocations: 4.094 kB / 1.373 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.8169, allocations: 7.984 kB / 1.373 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.8169, allocations: 7.938 kB / 1.373 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.8169, allocations: 0 / 1.373 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.8169, allocations: 4 kB / 1.373 GB, free: 6.645 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.904e-05/0.817, allocations: 114.3 kB / 1.373 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.817, allocations: 4 kB / 1.373 GB, free: 6.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.8171, allocations: 3.125 kB / 1.373 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.8171, allocations: 0 / 1.373 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8171, allocations: 4 kB / 1.373 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.8171, allocations: 88.98 kB / 1.373 GB, free: 6.406 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.8171, allocations: 0 / 1.373 GB, free: 6.406 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8172, allocations: 4 kB / 1.373 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.8173, allocations: 3.938 kB / 1.373 GB, free: 6.398 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.586e-05/0.8173, allocations: 113.1 kB / 1.373 GB, free: 6.281 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001117/0.8175, allocations: 218.7 kB / 1.373 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.252e-05/0.8175, allocations: 0 / 1.373 GB, free: 6.051 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.8175, allocations: 87.27 kB / 1.373 GB, free: 5.965 MB / 1.092 GB Notification: Performance of Backend: time 5.91e-07/0.8175, allocations: 0 / 1.373 GB, free: 5.965 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.8179, allocations: 108 kB / 1.374 GB, free: 5.855 MB / 1.092 GB Notification: Performance of SimCode: time 0.0004139/0.8183, allocations: 0.5726 MB / 1.374 GB, free: 5.238 MB / 1.092 GB Notification: Performance of Templates: time 0.002725/0.8211, allocations: 0.7336 MB / 1.375 GB, free: 4.539 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches