Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001851/0.001851, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6869, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1759/0.8628, allocations: 146 MB / 1.159 GB, free: 196 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.863, allocations: 67.78 kB / 1.159 GB, free: 128 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.8631, allocations: 0 / 1.159 GB, free: 128 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.8632, allocations: 0 / 1.159 GB, free: 128 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.8634, allocations: 11.92 kB / 1.159 GB, free: 116 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.8642, allocations: 197.6 kB / 1.159 GB, free: 15.92 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.8644, allocations: 59.81 kB / 1.16 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.8644, allocations: 4 kB / 1.16 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.8645, allocations: 19.92 kB / 1.16 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.8646, allocations: 11.98 kB / 1.16 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.8646, allocations: 0 / 1.16 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.8651, allocations: 231.3 kB / 1.16 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.8652, allocations: 4 kB / 1.16 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.8652, allocations: 19.91 kB / 1.16 GB, free: 15.58 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.8656, allocations: 129.7 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8656, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8656, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8656, allocations: 0 / 1.16 GB, free: 15.45 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.0004368/0.866, allocations: 341.3 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8661, allocations: 8.031 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.8664, allocations: 24.91 kB / 1.16 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.8666, allocations: 160.4 kB / 1.16 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.8666, allocations: 41.56 kB / 1.16 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.8666, allocations: 4 kB / 1.16 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.8668, allocations: 49.62 kB / 1.161 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.8668, allocations: 0 / 1.161 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.8668, allocations: 0 / 1.161 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.8668, allocations: 4 kB / 1.161 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.8669, allocations: 19.98 kB / 1.161 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.8673, allocations: 264.8 kB / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.8673, allocations: 26.52 kB / 1.161 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.8674, allocations: 8.922 kB / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.8675, allocations: 89.09 kB / 1.161 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8676, allocations: 34.56 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.8676, allocations: 4 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002653/0.8679, allocations: 45.69 kB / 1.161 GB, free: 14.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.8679, allocations: 59.34 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.868, allocations: 105.8 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.868, allocations: 29.64 kB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.8681, allocations: 91.98 kB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.8681, allocations: 11.88 kB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.8682, allocations: 21.84 kB / 1.161 GB, free: 13.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8683, allocations: 314.8 kB / 1.162 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.8683, allocations: 0 / 1.162 GB, free: 13.49 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.8684, allocations: 34.73 kB / 1.162 GB, free: 13.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.8684, allocations: 30.52 kB / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8685, allocations: 4 kB / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.237e-05/0.8686, allocations: 53.62 kB / 1.162 GB, free: 13.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.8686, allocations: 4 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8686, allocations: 0 / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8686, allocations: 4 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.8687, allocations: 4 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8687, allocations: 7.938 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.8687, allocations: 4 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.8687, allocations: 96 / 1.162 GB, free: 13.32 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.684e-05/0.8688, allocations: 117.8 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.8689, allocations: 3.906 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8689, allocations: 7.125 kB / 1.162 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8689, allocations: 4 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8689, allocations: 3.938 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8689, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.8692, allocations: 363.6 kB / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8693, allocations: 0 / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.8693, allocations: 4 kB / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8693, allocations: 3.938 kB / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.8693, allocations: 0 / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8693, allocations: 11.88 kB / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8693, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.756e-05/0.8694, allocations: 70.05 kB / 1.162 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.8695, allocations: 85.05 kB / 1.162 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.8695, allocations: 0 / 1.162 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.8696, allocations: 7.984 kB / 1.162 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.8696, allocations: 0 / 1.162 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.8696, allocations: 0 / 1.162 GB, free: 12.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.8697, allocations: 87.22 kB / 1.162 GB, free: 12.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8697, allocations: 0 / 1.162 GB, free: 12.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002109/0.8699, allocations: 8 kB / 1.162 GB, free: 12.45 MB / 0.92 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.0001519/0.87, allocations: 107.2 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.8701, allocations: 19.94 kB / 1.163 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8701, allocations: 0 / 1.163 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.8702, allocations: 7.938 kB / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.8704, allocations: 14.72 kB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.8707, allocations: 121.2 kB / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.871, allocations: 0.677 MB / 1.163 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.018e-05/0.8711, allocations: 12.22 kB / 1.163 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.8711, allocations: 7.438 kB / 1.163 GB, free: 11.43 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/0.8711, allocations: 0 / 1.163 GB, free: 11.43 MB / 0.92 GB Notification: Performance of Templates: time 0.002996/0.8741, allocations: 0.5561 MB / 1.164 GB, free: 10.87 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches