Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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_10_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.001671/0.001671, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001408/0.001408, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 68.88 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2866, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6357/0.9223, allocations: 147.8 MB / 1.162 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.9225, allocations: 50.09 kB / 1.162 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.9225, allocations: 0 / 1.162 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.9227, allocations: 7.234 kB / 1.162 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.9228, allocations: 18.12 kB / 1.162 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.9232, allocations: 109.5 kB / 1.162 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.9233, allocations: 32.09 kB / 1.163 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.9234, allocations: 7.969 kB / 1.163 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.9234, allocations: 15.03 kB / 1.163 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.9235, allocations: 12.66 kB / 1.163 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.9235, allocations: 1.219 kB / 1.163 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.9237, allocations: 85.41 kB / 1.163 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.9238, allocations: 9.531 kB / 1.163 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.9238, allocations: 14.91 kB / 1.163 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.924, allocations: 71.83 kB / 1.163 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.924, allocations: 0 / 1.163 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.383e-06/0.924, allocations: 1.562 kB / 1.163 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.924, allocations: 0 / 1.163 GB, free: 6.102 MB / 0.8731 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.0003726/0.9244, allocations: 332.2 kB / 1.163 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.9244, allocations: 10.25 kB / 1.163 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.9247, allocations: 20.56 kB / 1.163 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9248, allocations: 169.5 kB / 1.163 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.9249, allocations: 30.98 kB / 1.163 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.9249, allocations: 5.359 kB / 1.163 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.925, allocations: 47.73 kB / 1.163 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.925, allocations: 0 / 1.163 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.925, allocations: 1.219 kB / 1.163 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.9251, allocations: 5.281 kB / 1.163 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.9251, allocations: 18.14 kB / 1.163 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.9255, allocations: 265.2 kB / 1.164 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/0.9256, allocations: 16.08 kB / 1.164 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.9256, allocations: 10.3 kB / 1.164 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.9256, allocations: 6.672 kB / 1.164 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.9256, allocations: 31.66 kB / 1.164 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 2.665e-06/0.9256, allocations: 3.984 kB / 1.164 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.9258, allocations: 35.77 kB / 1.164 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.9258, allocations: 51.41 kB / 1.164 GB, free: 5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.9259, allocations: 110.9 kB / 1.164 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.9259, allocations: 27.02 kB / 1.164 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.926, allocations: 101.2 kB / 1.164 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-06/0.926, allocations: 5.062 kB / 1.164 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.926, allocations: 14.69 kB / 1.164 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9261, allocations: 316.3 kB / 1.164 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.9262, allocations: 3.094 kB / 1.164 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.9262, allocations: 27.53 kB / 1.164 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.9263, allocations: 29.89 kB / 1.164 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9263, allocations: 5.062 kB / 1.164 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.286e-05/0.9264, allocations: 55.81 kB / 1.164 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.9264, allocations: 8.156 kB / 1.164 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9264, allocations: 1.062 kB / 1.164 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.9264, allocations: 1.188 kB / 1.164 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.9265, allocations: 5.844 kB / 1.164 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9265, allocations: 9.031 kB / 1.164 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.9265, allocations: 1.125 kB / 1.164 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.9265, allocations: 2.25 kB / 1.164 GB, free: 4.312 MB / 0.8731 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.893e-05/0.9266, allocations: 110.8 kB / 1.165 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.9266, allocations: 5.312 kB / 1.165 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.9267, allocations: 8.469 kB / 1.165 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9267, allocations: 0 / 1.165 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.9267, allocations: 7.875 kB / 1.165 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9267, allocations: 1.406 kB / 1.165 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.9269, allocations: 344.8 kB / 1.165 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9269, allocations: 0.875 kB / 1.165 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.927, allocations: 1.312 kB / 1.165 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.927, allocations: 7.453 kB / 1.165 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.927, allocations: 0 / 1.165 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.927, allocations: 1.188 kB / 1.165 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.927, allocations: 3.875 kB / 1.165 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.9271, allocations: 66.48 kB / 1.165 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.9271, allocations: 77.11 kB / 1.165 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.9271, allocations: 5.281 kB / 1.165 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.9272, allocations: 5 kB / 1.165 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.9272, allocations: 0 / 1.165 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.9273, allocations: 1.094 kB / 1.165 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.9273, allocations: 81.14 kB / 1.165 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9273, allocations: 32 / 1.165 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001952/0.9275, allocations: 14.41 kB / 1.165 GB, free: 3.539 MB / 0.8731 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 8.465e-05/0.9276, allocations: 103.3 kB / 1.165 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.375e-05/0.9277, allocations: 12.91 kB / 1.165 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9277, allocations: 1.094 kB / 1.165 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.9277, allocations: 5.172 kB / 1.165 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.9279, allocations: 13.92 kB / 1.165 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.9282, allocations: 149.6 kB / 1.165 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.9284, allocations: 0.6767 MB / 1.166 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.9285, allocations: 9.531 kB / 1.166 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9285, allocations: 0 / 1.166 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of Templates: time 0.001758/0.9302, allocations: 0.578 MB / 1.167 GB, free: 2.551 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches