Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001771/0.001771, allocations: 106.8 kB / 15.99 MB, free: 5.895 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.002025/0.002025, allocations: 193.9 kB / 16.91 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.2 MB / 0.665 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 63.89 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7189, allocations: 140.4 MB / 0.9498 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1644/0.8833, allocations: 145.8 MB / 1.092 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.8835, allocations: 55.86 kB / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.8835, allocations: 0 / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.8836, allocations: 7.984 kB / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.8837, allocations: 7.938 kB / 1.092 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.8842, allocations: 95.72 kB / 1.092 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.8843, allocations: 39.78 kB / 1.092 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.8843, allocations: 4 kB / 1.092 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.8844, allocations: 15.98 kB / 1.092 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.8844, allocations: 19.97 kB / 1.092 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.8844, allocations: 0 / 1.092 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.8847, allocations: 79.72 kB / 1.092 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.8848, allocations: 15.92 kB / 1.092 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.8848, allocations: 8 kB / 1.092 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.8849, allocations: 46.05 kB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8849, allocations: 0 / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8849, allocations: 4 kB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.8849, allocations: 0 / 1.092 GB, free: 15.53 MB / 0.8575 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.0003744/0.8853, allocations: 343.4 kB / 1.093 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.8854, allocations: 8.031 kB / 1.093 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.8856, allocations: 20.91 kB / 1.093 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.8857, allocations: 168.4 kB / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.8858, allocations: 33.58 kB / 1.093 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.8858, allocations: 3.984 kB / 1.093 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.8859, allocations: 53.67 kB / 1.093 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.886, allocations: 0 / 1.093 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.886, allocations: 0 / 1.093 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.886, allocations: 4 kB / 1.093 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.8861, allocations: 15.98 kB / 1.093 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.8864, allocations: 264.8 kB / 1.093 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.8865, allocations: 26.52 kB / 1.093 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.8865, allocations: 4.859 kB / 1.093 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.8865, allocations: 3.938 kB / 1.093 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.8866, allocations: 30.56 kB / 1.093 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.8866, allocations: 0 / 1.093 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.8867, allocations: 33.77 kB / 1.093 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.8867, allocations: 63.28 kB / 1.094 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.8868, allocations: 110 kB / 1.094 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.8868, allocations: 25.7 kB / 1.094 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.8869, allocations: 87.98 kB / 1.094 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.8869, allocations: 7.906 kB / 1.094 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.887, allocations: 21.7 kB / 1.094 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8871, allocations: 310.8 kB / 1.094 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.8871, allocations: 4 kB / 1.094 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.8871, allocations: 30.56 kB / 1.094 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.8872, allocations: 30.52 kB / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8872, allocations: 0 / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.435e-05/0.8873, allocations: 53.62 kB / 1.094 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8873, allocations: 4 kB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8873, allocations: 4 kB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8873, allocations: 4.094 kB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.8874, allocations: 4 kB / 1.094 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.8874, allocations: 11.88 kB / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.8875, allocations: 0 / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.8875, allocations: 0 / 1.094 GB, free: 13.53 MB / 0.8575 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 7.761e-05/0.8876, allocations: 117.8 kB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.8876, allocations: 3.906 kB / 1.094 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.8876, allocations: 7.125 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.8876, allocations: 0 / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8876, allocations: 7.938 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.8876, allocations: 0 / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.8879, allocations: 346.7 kB / 1.095 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8879, allocations: 0 / 1.095 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.8879, allocations: 3.984 kB / 1.095 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.8879, allocations: 7.938 kB / 1.095 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.8879, allocations: 0 / 1.095 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.8879, allocations: 0 / 1.095 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.888, allocations: 4.031 kB / 1.095 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.669e-05/0.888, allocations: 61.33 kB / 1.095 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.8881, allocations: 81.05 kB / 1.095 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.8881, allocations: 7.984 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.8882, allocations: 4 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.8882, allocations: 0 / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.8882, allocations: 0 / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.8883, allocations: 95.23 kB / 1.095 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8883, allocations: 0 / 1.095 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001934/0.8885, allocations: 8 kB / 1.095 GB, free: 12.68 MB / 0.8575 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 9.65e-05/0.8886, allocations: 95.34 kB / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.8887, allocations: 12 kB / 1.095 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8887, allocations: 7.938 kB / 1.095 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/0.8887, allocations: 0 / 1.095 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.8889, allocations: 12.75 kB / 1.095 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.8892, allocations: 144.3 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.8895, allocations: 0.6768 MB / 1.096 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.8895, allocations: 7.438 kB / 1.096 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.8895, allocations: 0 / 1.096 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.001703/0.8912, allocations: 0.562 MB / 1.096 GB, free: 11.11 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches