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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.000748/0.000748, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008129/0.000813, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 443.2 MB / 0.7181 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003419, allocations: 9.312 kB / 0.8801 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 155.2 MB / 1.032 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1534/0.4367, allocations: 143.7 MB / 1.172 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.4368, allocations: 51.86 kB / 1.172 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.4369, allocations: 0 / 1.172 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.668e-05/0.437, allocations: 11.88 kB / 1.172 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.4371, allocations: 15.91 kB / 1.172 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.4375, allocations: 99.72 kB / 1.172 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.4376, allocations: 47.89 kB / 1.172 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.4376, allocations: 0 / 1.172 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.4377, allocations: 27.91 kB / 1.172 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.4377, allocations: 11.94 kB / 1.172 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4378, allocations: 4 kB / 1.172 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.438, allocations: 79.72 kB / 1.172 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.4381, allocations: 11.98 kB / 1.172 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.4381, allocations: 33.69 kB / 1.172 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.4382, allocations: 56.09 kB / 1.172 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4382, allocations: 0 / 1.172 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4383, allocations: 0 / 1.172 GB, free: 4.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.4383, allocations: 0 / 1.172 GB, free: 4.078 MB / 0.92 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.0003539/0.4386, allocations: 319.6 kB / 1.173 GB, free: 3.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4387, allocations: 16.03 kB / 1.173 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.4389, allocations: 20.91 kB / 1.173 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.439, allocations: 164.3 kB / 1.173 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.4391, allocations: 29.64 kB / 1.173 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4391, allocations: 4 kB / 1.173 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4393, allocations: 53.59 kB / 1.173 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4393, allocations: 0 / 1.173 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4393, allocations: 4 kB / 1.173 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.4393, allocations: 4 kB / 1.173 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.4394, allocations: 23.92 kB / 1.173 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.4398, allocations: 260.8 kB / 1.173 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.4398, allocations: 18.58 kB / 1.173 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.4399, allocations: 8.859 kB / 1.173 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.4399, allocations: 4.062 kB / 1.173 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4399, allocations: 30.56 kB / 1.173 GB, free: 2.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4399, allocations: 0 / 1.173 GB, free: 2.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.44, allocations: 33.64 kB / 1.173 GB, free: 2.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.4401, allocations: 55.34 kB / 1.173 GB, free: 2.863 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.4402, allocations: 105.8 kB / 1.174 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4402, allocations: 29.83 kB / 1.174 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.4403, allocations: 92.05 kB / 1.174 GB, free: 2.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.4403, allocations: 7.891 kB / 1.174 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.4403, allocations: 9.719 kB / 1.174 GB, free: 2.598 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4404, allocations: 318.8 kB / 1.174 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.4404, allocations: 0 / 1.174 GB, free: 2.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.4405, allocations: 26.56 kB / 1.174 GB, free: 2.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.4405, allocations: 42.45 kB / 1.174 GB, free: 2.191 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4405, allocations: 0 / 1.174 GB, free: 2.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.494e-05/0.4406, allocations: 53.62 kB / 1.174 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4406, allocations: 4 kB / 1.174 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4406, allocations: 0 / 1.174 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4407, allocations: 4.094 kB / 1.174 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.4407, allocations: 8.328 kB / 1.174 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4407, allocations: 7.938 kB / 1.174 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.4408, allocations: 11.94 kB / 1.174 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4408, allocations: 4 kB / 1.174 GB, free: 2.094 MB / 0.92 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 8.253e-05/0.4409, allocations: 119.3 kB / 1.174 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4409, allocations: 3.906 kB / 1.174 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.4409, allocations: 3.125 kB / 1.174 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.441, allocations: 4 kB / 1.174 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.441, allocations: 3.938 kB / 1.174 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.441, allocations: 4 kB / 1.174 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4412, allocations: 338.8 kB / 1.175 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4412, allocations: 0 / 1.175 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.4413, allocations: 3.984 kB / 1.175 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4413, allocations: 3.938 kB / 1.175 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4413, allocations: 8 kB / 1.175 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4413, allocations: 7.875 kB / 1.175 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4413, allocations: 0 / 1.175 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.314e-05/0.4414, allocations: 53.17 kB / 1.175 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.4414, allocations: 85.05 kB / 1.175 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4414, allocations: 3.984 kB / 1.175 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.4415, allocations: 4 kB / 1.175 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.4416, allocations: 4 kB / 1.175 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4416, allocations: 0 / 1.175 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.4416, allocations: 83.27 kB / 1.175 GB, free: 1.266 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4416, allocations: 4.031 kB / 1.175 GB, free: 1.262 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001916/0.4418, allocations: 8 kB / 1.175 GB, free: 1.254 MB / 0.92 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.91e-05/0.4419, allocations: 95.25 kB / 1.175 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.442, allocations: 15.94 kB / 1.175 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.442, allocations: 0 / 1.175 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.442, allocations: 4 kB / 1.175 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.4422, allocations: 8.188 kB / 1.175 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.4425, allocations: 162.1 kB / 1.175 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.4428, allocations: 0.6731 MB / 1.176 GB, free: 236 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.4428, allocations: 7.438 kB / 1.176 GB, free: 228 kB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.4428, allocations: 0 / 1.176 GB, free: 228 kB / 0.92 GB Notification: Performance of Templates: time 0.00193/0.4447, allocations: 0.559 MB / 1.176 GB, free: 15.67 MB / 0.9356 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