Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.001273/0.001273, allocations: 108.7 kB / 15.99 MB, free: 6.355 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.00116/0.00116, allocations: 191.8 kB / 16.91 MB, free: 6.191 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.97 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7218/1.027, allocations: 146.2 MB / 1.207 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/1.028, allocations: 45.88 kB / 1.207 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/1.028, allocations: 0 / 1.207 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/1.028, allocations: 7.922 kB / 1.207 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/1.028, allocations: 12.61 kB / 1.207 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/1.029, allocations: 198.2 kB / 1.207 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.144e-05/1.029, allocations: 37.34 kB / 1.207 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/1.029, allocations: 2.125 kB / 1.207 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/1.029, allocations: 16.84 kB / 1.207 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/1.029, allocations: 15.03 kB / 1.207 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/1.029, allocations: 1.062 kB / 1.207 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/1.029, allocations: 203.8 kB / 1.207 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/1.029, allocations: 11.33 kB / 1.207 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/1.029, allocations: 8.719 kB / 1.207 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/1.03, allocations: 79.52 kB / 1.207 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.03, allocations: 0 / 1.207 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/1.03, allocations: 0 / 1.207 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.03, allocations: 1.406 kB / 1.207 GB, free: 0.9453 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.0004481/1.03, allocations: 341.2 kB / 1.208 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.03, allocations: 9.281 kB / 1.208 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/1.03, allocations: 27.98 kB / 1.208 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.031, allocations: 166.5 kB / 1.208 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/1.031, allocations: 30.92 kB / 1.208 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.031, allocations: 1.438 kB / 1.208 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.031, allocations: 53.55 kB / 1.208 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/1.031, allocations: 0 / 1.208 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.031, allocations: 0 / 1.208 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.031, allocations: 6.172 kB / 1.208 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/1.031, allocations: 21.05 kB / 1.208 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/1.031, allocations: 268.7 kB / 1.208 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/1.031, allocations: 28.12 kB / 1.208 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/1.031, allocations: 7.016 kB / 1.208 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.032, allocations: 95.38 kB / 1.208 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.032, allocations: 35.81 kB / 1.209 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.032, allocations: 0 / 1.209 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002418/1.032, allocations: 51.56 kB / 1.209 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.032, allocations: 52.56 kB / 1.209 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/1.032, allocations: 99.42 kB / 1.209 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.032, allocations: 29.7 kB / 1.209 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/1.032, allocations: 102.4 kB / 1.209 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/1.032, allocations: 4.969 kB / 1.209 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/1.032, allocations: 16.88 kB / 1.209 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.032, allocations: 315.9 kB / 1.209 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/1.032, allocations: 7.422 kB / 1.209 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/1.032, allocations: 23.36 kB / 1.209 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/1.032, allocations: 34.52 kB / 1.209 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.032, allocations: 1.312 kB / 1.209 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.296e-05/1.033, allocations: 52.81 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.033, allocations: 5.344 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.033, allocations: 1.094 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.033, allocations: 1.125 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/1.033, allocations: 10.3 kB / 1.209 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.033, allocations: 5.312 kB / 1.209 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/1.033, allocations: 5.219 kB / 1.209 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/1.033, allocations: 1.156 kB / 1.209 GB, free: 14.99 MB / 0.9356 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 9.178e-05/1.033, allocations: 112.6 kB / 1.209 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/1.033, allocations: 9.156 kB / 1.209 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/1.033, allocations: 4.531 kB / 1.209 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.033, allocations: 0 / 1.209 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.033, allocations: 2.312 kB / 1.209 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.033, allocations: 3.938 kB / 1.209 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/1.033, allocations: 361.5 kB / 1.21 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.033, allocations: 0 / 1.21 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/1.033, allocations: 7.656 kB / 1.21 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.033, allocations: 3.938 kB / 1.21 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.033, allocations: 5.062 kB / 1.21 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.033, allocations: 7.922 kB / 1.21 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.033, allocations: 1.344 kB / 1.21 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/1.033, allocations: 68.19 kB / 1.21 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/1.033, allocations: 78.55 kB / 1.21 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.033, allocations: 9.328 kB / 1.21 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/1.034, allocations: 1.438 kB / 1.21 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/1.034, allocations: 5.812 kB / 1.21 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/1.034, allocations: 1.344 kB / 1.21 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.936e-05/1.034, allocations: 91.52 kB / 1.21 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.034, allocations: 0 / 1.21 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001949/1.034, allocations: 6.969 kB / 1.21 GB, free: 14.17 MB / 0.9356 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.0001393/1.034, allocations: 102.1 kB / 1.21 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.105e-05/1.034, allocations: 17.72 kB / 1.21 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.034, allocations: 1.188 kB / 1.21 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/1.034, allocations: 11.03 kB / 1.21 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/1.034, allocations: 17.89 kB / 1.21 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/1.035, allocations: 153.8 kB / 1.21 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.035, allocations: 0.6773 MB / 1.211 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/1.035, allocations: 8.5 kB / 1.211 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.035, allocations: 4 kB / 1.211 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.002297/1.037, allocations: 0.6253 MB / 1.212 GB, free: 12.86 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches