Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.007854/0.007854, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.002204/0.002204, allocations: 205 kB / 16.68 MB, free: 5.973 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.885/2.885, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6825/0.9646, allocations: 147.8 MB / 1.365 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.9647, allocations: 49.38 kB / 1.365 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.9648, allocations: 0 / 1.365 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.9649, allocations: 11.88 kB / 1.365 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.965, allocations: 12.53 kB / 1.365 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.9655, allocations: 105.1 kB / 1.365 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.9656, allocations: 41.69 kB / 1.365 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.9656, allocations: 2.562 kB / 1.365 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.9657, allocations: 12.62 kB / 1.365 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.9657, allocations: 10.53 kB / 1.365 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9657, allocations: 5.469 kB / 1.365 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.966, allocations: 89 kB / 1.365 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.9661, allocations: 10.73 kB / 1.365 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.9661, allocations: 11.27 kB / 1.365 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.9663, allocations: 70.84 kB / 1.365 GB, free: 0.582 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9663, allocations: 0 / 1.365 GB, free: 0.582 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9663, allocations: 1.594 kB / 1.365 GB, free: 0.582 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.9663, allocations: 0.6562 kB / 1.365 GB, free: 0.582 MB / 1.061 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.0004148/0.9668, allocations: 338.4 kB / 1.365 GB, free: 228 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.9668, allocations: 8.969 kB / 1.365 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.9668, allocations: 40.39 kB / 1.365 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.9671, allocations: 18.31 kB / 1.365 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.9672, allocations: 166.2 kB / 1.365 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.9673, allocations: 31.78 kB / 1.366 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.9673, allocations: 3.125 kB / 1.366 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.9674, allocations: 49.39 kB / 1.366 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9675, allocations: 1.344 kB / 1.366 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.9675, allocations: 0.7031 kB / 1.366 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.9675, allocations: 5.984 kB / 1.366 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.9676, allocations: 23.19 kB / 1.366 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.968, allocations: 259.5 kB / 1.366 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.968, allocations: 21.11 kB / 1.366 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.968, allocations: 6.844 kB / 1.366 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.9681, allocations: 0 / 1.366 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.9681, allocations: 32.75 kB / 1.366 GB, free: 15.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 2.785e-06/0.9681, allocations: 0 / 1.366 GB, free: 15.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.9682, allocations: 43.42 kB / 1.366 GB, free: 15.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.9683, allocations: 57.3 kB / 1.366 GB, free: 15.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.9684, allocations: 109.3 kB / 1.366 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.9684, allocations: 25.7 kB / 1.366 GB, free: 15.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.9685, allocations: 90.19 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-06/0.9685, allocations: 2.344 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.9685, allocations: 25.14 kB / 1.366 GB, free: 15.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9687, allocations: 313.2 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.9687, allocations: 7.594 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.9688, allocations: 25.69 kB / 1.367 GB, free: 14.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.9688, allocations: 35.89 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9688, allocations: 0 / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.976e-05/0.9689, allocations: 54.31 kB / 1.367 GB, free: 14.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.9689, allocations: 6.5 kB / 1.367 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9689, allocations: 1.75 kB / 1.367 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.969, allocations: 5.219 kB / 1.367 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.969, allocations: 6.875 kB / 1.367 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.969, allocations: 5.188 kB / 1.367 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.9691, allocations: 1.438 kB / 1.367 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.9691, allocations: 3.547 kB / 1.367 GB, free: 14.75 MB / 1.076 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 9.229e-05/0.9692, allocations: 119.7 kB / 1.367 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.9692, allocations: 2.047 kB / 1.367 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.9692, allocations: 5.781 kB / 1.367 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9693, allocations: 0 / 1.367 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9693, allocations: 10.41 kB / 1.367 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.9693, allocations: 0 / 1.367 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.9696, allocations: 348.5 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9696, allocations: 0.75 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.9696, allocations: 1.125 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.9696, allocations: 5.25 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.9696, allocations: 1.656 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9697, allocations: 1.375 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9697, allocations: 4.031 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.9697, allocations: 61.69 kB / 1.367 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.9698, allocations: 82.97 kB / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.9698, allocations: 4.688 kB / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.9699, allocations: 4.719 kB / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-06/0.9699, allocations: 2.25 kB / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.9699, allocations: 0 / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.97, allocations: 90.61 kB / 1.367 GB, free: 13.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.97, allocations: 0 / 1.367 GB, free: 13.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002016/0.9702, allocations: 6.406 kB / 1.367 GB, free: 13.96 MB / 1.076 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 (1): * Single equations (assignments): 1 * 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.0003801/0.9706, allocations: 0.5979 MB / 1.368 GB, free: 13.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.9707, allocations: 18.38 kB / 1.368 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9707, allocations: 0 / 1.368 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-06/0.9707, allocations: 1.344 kB / 1.368 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.9709, allocations: 12.62 kB / 1.368 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.9713, allocations: 141 kB / 1.368 GB, free: 13.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.9716, allocations: 0.6756 MB / 1.369 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.314e-05/0.9717, allocations: 14.53 kB / 1.369 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.9717, allocations: 8.75 kB / 1.369 GB, free: 12.5 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/0.9717, allocations: 0 / 1.369 GB, free: 12.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.9924, allocations: 1.368 MB / 1.37 GB, free: 12.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.741, allocations: 18.14 kB / 1.37 GB, free: 12.16 MB / 1.076 GB (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches