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.001597/0.001597, allocations: 105.3 kB / 16.4 MB, free: 6.02 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.001738/0.001738, allocations: 187.3 kB / 17.34 MB, free: 5.609 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 / 241 MB, free: 15.07 MB / 206.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.262/2.262, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8781, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.174/1.052, allocations: 147.8 MB / 1.233 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/1.052, allocations: 60.31 kB / 1.233 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/1.052, allocations: 0 / 1.233 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/1.052, allocations: 3.938 kB / 1.233 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/1.053, allocations: 11.67 kB / 1.233 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/1.053, allocations: 108.5 kB / 1.233 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/1.053, allocations: 42.12 kB / 1.233 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/1.053, allocations: 1.5 kB / 1.233 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/1.053, allocations: 20.86 kB / 1.233 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/1.053, allocations: 10.77 kB / 1.233 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/1.053, allocations: 0 / 1.233 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/1.054, allocations: 85.03 kB / 1.233 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/1.054, allocations: 10.98 kB / 1.233 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/1.054, allocations: 8.969 kB / 1.233 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/1.054, allocations: 74.2 kB / 1.233 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.054, allocations: 1.156 kB / 1.233 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/1.054, allocations: 4 kB / 1.233 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.054, allocations: 0 / 1.233 GB, free: 6.305 MB / 0.9669 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.0004469/1.055, allocations: 337 kB / 1.234 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.055, allocations: 13.64 kB / 1.234 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/1.055, allocations: 20.58 kB / 1.234 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.055, allocations: 165.4 kB / 1.234 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/1.055, allocations: 34.8 kB / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/1.055, allocations: 1.156 kB / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/1.055, allocations: 48.48 kB / 1.234 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.055, allocations: 0 / 1.234 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.055, allocations: 0 / 1.234 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.055, allocations: 2.312 kB / 1.234 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/1.055, allocations: 19.23 kB / 1.234 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/1.056, allocations: 270.6 kB / 1.234 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/1.056, allocations: 16.08 kB / 1.234 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/1.056, allocations: 6.016 kB / 1.234 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/1.056, allocations: 0 / 1.234 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.056, allocations: 32.69 kB / 1.234 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 2.845e-06/1.056, allocations: 3.984 kB / 1.234 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/1.056, allocations: 39.58 kB / 1.234 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/1.056, allocations: 59.38 kB / 1.234 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/1.056, allocations: 105.8 kB / 1.235 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.056, allocations: 25.7 kB / 1.235 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/1.056, allocations: 98.11 kB / 1.235 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/1.056, allocations: 9.047 kB / 1.235 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/1.056, allocations: 16.69 kB / 1.235 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.056, allocations: 311.9 kB / 1.235 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/1.056, allocations: 12.12 kB / 1.235 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/1.056, allocations: 23.22 kB / 1.235 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/1.057, allocations: 29.48 kB / 1.235 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.057, allocations: 1.062 kB / 1.235 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.171e-05/1.057, allocations: 57.12 kB / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.057, allocations: 6.75 kB / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.057, allocations: 0 / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.057, allocations: 1.375 kB / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/1.057, allocations: 6.062 kB / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.057, allocations: 5.375 kB / 1.235 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/1.057, allocations: 5.438 kB / 1.235 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/1.057, allocations: 1.281 kB / 1.235 GB, free: 4.469 MB / 0.9669 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.543e-05/1.057, allocations: 116.3 kB / 1.235 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/1.057, allocations: 5.438 kB / 1.235 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/1.057, allocations: 8.5 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.057, allocations: 0 / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.057, allocations: 3.938 kB / 1.235 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.057, allocations: 1.25 kB / 1.235 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/1.057, allocations: 342 kB / 1.236 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.057, allocations: 1.5 kB / 1.236 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/1.057, allocations: 1.312 kB / 1.236 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.057, allocations: 7.969 kB / 1.236 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/1.057, allocations: 0 / 1.236 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.057, allocations: 1.312 kB / 1.236 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.057, allocations: 0 / 1.236 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.878e-05/1.057, allocations: 59.61 kB / 1.236 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/1.057, allocations: 90.53 kB / 1.236 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/1.057, allocations: 1.312 kB / 1.236 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/1.058, allocations: 5.469 kB / 1.236 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/1.058, allocations: 5.125 kB / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/1.058, allocations: 0 / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.202e-05/1.058, allocations: 89.14 kB / 1.236 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/1.058, allocations: 0 / 1.236 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001987/1.058, allocations: 5.469 kB / 1.236 GB, free: 3.672 MB / 0.9669 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.000104/1.058, allocations: 101 kB / 1.236 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/1.058, allocations: 16.97 kB / 1.236 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.058, allocations: 5.312 kB / 1.236 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-06/1.058, allocations: 2 kB / 1.236 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.058, allocations: 11.14 kB / 1.236 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/1.059, allocations: 142.1 kB / 1.236 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/1.059, allocations: 0.6723 MB / 1.237 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/1.059, allocations: 9.625 kB / 1.237 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/1.059, allocations: 0 / 1.237 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.002249/1.061, allocations: 0.5727 MB / 1.237 GB, free: 2.426 MB / 0.9669 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