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.001097/0.001097, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.0015/0.0015, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.779/2.779, allocations: 437 MB / 0.71 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.83 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7846, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1708/0.9554, allocations: 146.2 MB / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.9556, allocations: 51.77 kB / 1.16 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.9557, allocations: 0 / 1.16 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.9558, allocations: 4 kB / 1.16 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.9559, allocations: 19.91 kB / 1.16 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009087/0.9568, allocations: 198.5 kB / 1.16 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.9569, allocations: 39.84 kB / 1.16 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.957, allocations: 3.984 kB / 1.16 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.957, allocations: 15.92 kB / 1.16 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.9571, allocations: 11.98 kB / 1.16 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.9571, allocations: 4 kB / 1.16 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.9576, allocations: 199.4 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.9577, allocations: 3.984 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.9577, allocations: 23.91 kB / 1.16 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.958, allocations: 117.7 kB / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.958, allocations: 15.92 kB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.615e-06/0.958, allocations: 4 kB / 1.16 GB, free: 15.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.958, allocations: 0 / 1.16 GB, free: 15.29 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.0004174/0.9585, allocations: 339.4 kB / 1.161 GB, free: 14.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9585, allocations: 12.03 kB / 1.161 GB, free: 14.9 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.9589, allocations: 20.91 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.959, allocations: 164.4 kB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.959, allocations: 33.64 kB / 1.161 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.9591, allocations: 0 / 1.161 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.9592, allocations: 49.67 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.9592, allocations: 4 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9592, allocations: 0 / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.9593, allocations: 4 kB / 1.161 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.9593, allocations: 23.92 kB / 1.161 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.9597, allocations: 260.8 kB / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.9598, allocations: 26.58 kB / 1.161 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.9598, allocations: 8.922 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.96, allocations: 89.09 kB / 1.161 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.96, allocations: 34.56 kB / 1.161 GB, free: 14.06 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.96, allocations: 3.938 kB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002519/0.9603, allocations: 53.62 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.9603, allocations: 55.41 kB / 1.161 GB, free: 13.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.9604, allocations: 109.8 kB / 1.161 GB, free: 13.81 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.9604, allocations: 29.64 kB / 1.161 GB, free: 13.78 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.9605, allocations: 95.98 kB / 1.162 GB, free: 13.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.9605, allocations: 3.906 kB / 1.162 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.9605, allocations: 13.72 kB / 1.162 GB, free: 13.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9606, allocations: 323 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.9607, allocations: 4 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.9607, allocations: 18.58 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.9608, allocations: 34.5 kB / 1.162 GB, free: 13.26 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9608, allocations: 4 kB / 1.162 GB, free: 13.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.456e-05/0.9609, allocations: 57.62 kB / 1.162 GB, free: 13.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9609, allocations: 8 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9609, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9609, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.961, allocations: 8 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.961, allocations: 3.938 kB / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.961, allocations: 0 / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.961, allocations: 4 kB / 1.162 GB, free: 13.17 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.365e-05/0.9611, allocations: 113.9 kB / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.9612, allocations: 7.906 kB / 1.162 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.9612, allocations: 11.11 kB / 1.162 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9612, allocations: 0 / 1.162 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.9612, allocations: 3.938 kB / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9612, allocations: 0 / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.9615, allocations: 371.6 kB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9615, allocations: 0 / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.9615, allocations: 0 / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.9616, allocations: 7.938 kB / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.9616, allocations: 0 / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9616, allocations: 0 / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9616, allocations: 0 / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.9617, allocations: 74.02 kB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.9617, allocations: 81.05 kB / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.9617, allocations: 0 / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.9618, allocations: 8 kB / 1.163 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.9619, allocations: 3.938 kB / 1.163 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9619, allocations: 4 kB / 1.163 GB, free: 12.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.9619, allocations: 91.2 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9619, allocations: 0 / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000192/0.9621, allocations: 7.938 kB / 1.163 GB, free: 12.29 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.0001261/0.9623, allocations: 107.3 kB / 1.163 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.9624, allocations: 19.92 kB / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9624, allocations: 4 kB / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.9624, allocations: 0 / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.9626, allocations: 11.88 kB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.9629, allocations: 131.6 kB / 1.163 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.9632, allocations: 0.6806 MB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.364e-05/0.9632, allocations: 8.422 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.9633, allocations: 7.438 kB / 1.164 GB, free: 11.26 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.9633, allocations: 4 kB / 1.164 GB, free: 11.25 MB / 0.92 GB Notification: Performance of Templates: time 0.002763/0.966, allocations: 0.5645 MB / 1.164 GB, free: 10.69 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