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.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.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.001564/0.001564, allocations: 111.7 kB / 15.99 MB, free: 5.914 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.002428/0.002428, allocations: 188 kB / 16.91 MB, free: 5.758 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.17/2.17, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 58.92 kB / 0.8127 GB, free: 32.4 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7541/1.029, allocations: 146.2 MB / 1.093 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/1.029, allocations: 52.58 kB / 1.093 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/1.029, allocations: 1.281 kB / 1.093 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/1.029, allocations: 4.922 kB / 1.093 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/1.029, allocations: 8.016 kB / 1.093 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/1.03, allocations: 204.4 kB / 1.093 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/1.03, allocations: 34.03 kB / 1.093 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/1.03, allocations: 2.375 kB / 1.093 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/1.03, allocations: 21.12 kB / 1.093 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/1.03, allocations: 11.56 kB / 1.093 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/1.03, allocations: 5 kB / 1.093 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/1.03, allocations: 201.1 kB / 1.093 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/1.031, allocations: 9.078 kB / 1.093 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/1.031, allocations: 11.48 kB / 1.093 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/1.031, allocations: 76.47 kB / 1.093 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.031, allocations: 1.344 kB / 1.093 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.031, allocations: 0 / 1.093 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.573e-06/1.031, allocations: 0 / 1.093 GB, free: 5.898 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.000711/1.032, allocations: 345.2 kB / 1.093 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.032, allocations: 15.95 kB / 1.093 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/1.032, allocations: 24.33 kB / 1.094 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.032, allocations: 163.7 kB / 1.094 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/1.032, allocations: 33.73 kB / 1.094 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/1.032, allocations: 1.031 kB / 1.094 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/1.032, allocations: 47.75 kB / 1.094 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.032, allocations: 0 / 1.094 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.032, allocations: 4.094 kB / 1.094 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.032, allocations: 6.422 kB / 1.094 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/1.033, allocations: 19.45 kB / 1.094 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/1.033, allocations: 266.9 kB / 1.094 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/1.033, allocations: 22.48 kB / 1.094 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/1.033, allocations: 9.484 kB / 1.094 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.033, allocations: 97.09 kB / 1.094 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/1.033, allocations: 33.11 kB / 1.094 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/1.033, allocations: 0 / 1.094 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0003187/1.034, allocations: 52.92 kB / 1.094 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.034, allocations: 51.41 kB / 1.094 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/1.034, allocations: 106.8 kB / 1.094 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/1.034, allocations: 30.61 kB / 1.094 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/1.034, allocations: 90.56 kB / 1.094 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/1.034, allocations: 5.453 kB / 1.094 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/1.034, allocations: 20.52 kB / 1.095 GB, free: 20.49 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.034, allocations: 312.7 kB / 1.095 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/1.034, allocations: 11.45 kB / 1.095 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/1.034, allocations: 24.81 kB / 1.095 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/1.034, allocations: 35.05 kB / 1.095 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.034, allocations: 0 / 1.095 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/1.035, allocations: 51.19 kB / 1.095 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.035, allocations: 7.734 kB / 1.095 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.035, allocations: 0.7031 kB / 1.095 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.035, allocations: 5.281 kB / 1.095 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/1.035, allocations: 10.75 kB / 1.095 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.035, allocations: 4 kB / 1.095 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/1.035, allocations: 5.031 kB / 1.095 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.035, allocations: 2.156 kB / 1.095 GB, free: 20.09 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.359e-05/1.035, allocations: 109.2 kB / 1.095 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/1.035, allocations: 2.062 kB / 1.095 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/1.035, allocations: 12.94 kB / 1.095 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.035, allocations: 0 / 1.095 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.035, allocations: 6.281 kB / 1.095 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.035, allocations: 3.938 kB / 1.095 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/1.035, allocations: 362.1 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.035, allocations: 0.9844 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/1.035, allocations: 4.719 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.035, allocations: 5.859 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.035, allocations: 1.031 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.035, allocations: 6.969 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.035, allocations: 1.734 kB / 1.095 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.823e-05/1.035, allocations: 73.27 kB / 1.096 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/1.035, allocations: 79.88 kB / 1.096 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/1.035, allocations: 6.375 kB / 1.096 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/1.036, allocations: 3.375 kB / 1.096 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/1.036, allocations: 9.266 kB / 1.096 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.036, allocations: 1.125 kB / 1.096 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.15e-05/1.036, allocations: 79.97 kB / 1.096 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.036, allocations: 0 / 1.096 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002168/1.036, allocations: 10.8 kB / 1.096 GB, free: 19.32 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.0001674/1.036, allocations: 100.5 kB / 1.096 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.036, allocations: 23.09 kB / 1.096 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.036, allocations: 1.094 kB / 1.096 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/1.036, allocations: 4.891 kB / 1.096 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/1.037, allocations: 9.5 kB / 1.096 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/1.037, allocations: 147.5 kB / 1.096 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.037, allocations: 0.6799 MB / 1.097 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/1.037, allocations: 9.938 kB / 1.097 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.037, allocations: 0 / 1.097 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.002572/1.04, allocations: 0.6183 MB / 1.097 GB, free: 18.33 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 -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