Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001487/0.001487, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.84 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2678, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.729/0.9968, allocations: 148.3 MB / 1.096 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.997, allocations: 50.95 kB / 1.096 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.997, allocations: 0.5938 kB / 1.096 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.9971, allocations: 1.219 kB / 1.096 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.9973, allocations: 21.73 kB / 1.096 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.998, allocations: 206.6 kB / 1.096 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.519e-05/0.9981, allocations: 31.36 kB / 1.096 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.9982, allocations: 6.578 kB / 1.096 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.9982, allocations: 15.81 kB / 1.096 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.9983, allocations: 14.03 kB / 1.096 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.9983, allocations: 3.234 kB / 1.096 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.9988, allocations: 197.8 kB / 1.096 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.9988, allocations: 6.969 kB / 1.096 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.9989, allocations: 15.33 kB / 1.096 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.9991, allocations: 111.3 kB / 1.097 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9991, allocations: 2.609 kB / 1.097 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9992, allocations: 0 / 1.097 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9992, allocations: 1.219 kB / 1.097 GB, free: 5.676 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.0006411/0.9998, allocations: 352.8 kB / 1.097 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.9999, allocations: 9.375 kB / 1.097 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/1, allocations: 28.52 kB / 1.097 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1, allocations: 164.5 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/1, allocations: 31.14 kB / 1.097 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1, allocations: 1.562 kB / 1.097 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/1.001, allocations: 51.67 kB / 1.097 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.001, allocations: 0.8125 kB / 1.097 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.001, allocations: 6.25 kB / 1.097 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.001, allocations: 3.125 kB / 1.097 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.848e-05/1.001, allocations: 19.89 kB / 1.097 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/1.001, allocations: 261.9 kB / 1.097 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/1.001, allocations: 25.03 kB / 1.097 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/1.001, allocations: 8.453 kB / 1.097 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.001, allocations: 98.23 kB / 1.098 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/1.001, allocations: 32.12 kB / 1.098 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/1.001, allocations: 0 / 1.098 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0002453/1.002, allocations: 50.39 kB / 1.098 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.002, allocations: 52.66 kB / 1.098 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/1.002, allocations: 112 kB / 1.098 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/1.002, allocations: 26.36 kB / 1.098 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/1.002, allocations: 89.34 kB / 1.098 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/1.002, allocations: 10.75 kB / 1.098 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/1.002, allocations: 14.61 kB / 1.098 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.002, allocations: 316.4 kB / 1.098 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/1.002, allocations: 3.562 kB / 1.098 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/1.002, allocations: 28.75 kB / 1.098 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/1.002, allocations: 30.66 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.002, allocations: 3.938 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.834e-05/1.002, allocations: 53.8 kB / 1.098 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.002, allocations: 5.719 kB / 1.098 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.002, allocations: 6.125 kB / 1.098 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.002, allocations: 1.328 kB / 1.098 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/1.002, allocations: 9.203 kB / 1.098 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.002, allocations: 2.188 kB / 1.098 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/1.002, allocations: 5.312 kB / 1.098 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/1.002, allocations: 1.844 kB / 1.098 GB, free: 19.86 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 8.109e-05/1.002, allocations: 114.2 kB / 1.099 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/1.003, allocations: 2.734 kB / 1.099 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/1.003, allocations: 4.438 kB / 1.099 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.003, allocations: 5.281 kB / 1.099 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.003, allocations: 0 / 1.099 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.003, allocations: 4.656 kB / 1.099 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.003, allocations: 370.6 kB / 1.099 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.003, allocations: 0.9062 kB / 1.099 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/1.003, allocations: 4.375 kB / 1.099 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.003, allocations: 5.547 kB / 1.099 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.003, allocations: 4.688 kB / 1.099 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.003, allocations: 0.625 kB / 1.099 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.003, allocations: 1.328 kB / 1.099 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.078e-05/1.003, allocations: 68.42 kB / 1.099 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/1.003, allocations: 79.02 kB / 1.099 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/1.003, allocations: 6.688 kB / 1.099 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/1.003, allocations: 9.297 kB / 1.099 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/1.003, allocations: 7.141 kB / 1.099 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/1.003, allocations: 1.375 kB / 1.099 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.406e-05/1.003, allocations: 84.88 kB / 1.099 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0.6562 kB / 1.099 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000204/1.004, allocations: 6.125 kB / 1.099 GB, free: 19.09 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001865/1.004, allocations: 102.9 kB / 1.099 GB, free: 19 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.922e-05/1.004, allocations: 18.64 kB / 1.099 GB, free: 19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.004, allocations: 0 / 1.099 GB, free: 19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/1.004, allocations: 6.281 kB / 1.099 GB, free: 19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.004, allocations: 14.88 kB / 1.099 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/1.004, allocations: 117.6 kB / 1.099 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.005, allocations: 0.6802 MB / 1.1 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.082e-05/1.005, allocations: 5.797 kB / 1.1 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/1.005, allocations: 9.375 kB / 1.1 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.005, allocations: 0 / 1.1 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.003404/1.008, allocations: 0.5832 MB / 1.101 GB, free: 18.11 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches