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.001575/0.001575, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001807/0.001807, allocations: 187 kB / 17.34 MB, free: 5.723 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7801, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.153/0.9331, allocations: 148.3 MB / 1.312 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.9333, allocations: 51.73 kB / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.9333, allocations: 0 / 1.312 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.9335, allocations: 7.922 kB / 1.312 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.9336, allocations: 7.938 kB / 1.312 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.9344, allocations: 221.5 kB / 1.312 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.9345, allocations: 31.92 kB / 1.312 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.9346, allocations: 0 / 1.312 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.9346, allocations: 15.92 kB / 1.312 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.9347, allocations: 19.92 kB / 1.312 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.9347, allocations: 0 / 1.312 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.9352, allocations: 199.5 kB / 1.313 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.9352, allocations: 7.984 kB / 1.313 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.9353, allocations: 15.92 kB / 1.313 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.9355, allocations: 115.6 kB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9356, allocations: 0 / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9356, allocations: 7.938 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9356, allocations: 0 / 1.313 GB, free: 14.29 MB / 1.045 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.0004367/0.936, allocations: 333.4 kB / 1.313 GB, free: 13.92 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9361, allocations: 12.92 kB / 1.313 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.9364, allocations: 24.81 kB / 1.313 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9366, allocations: 172.4 kB / 1.313 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.9366, allocations: 33.64 kB / 1.313 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.9367, allocations: 3.984 kB / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.9368, allocations: 53.61 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.9368, allocations: 0 / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.9368, allocations: 0 / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.9369, allocations: 4 kB / 1.313 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.9369, allocations: 19.98 kB / 1.313 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.9374, allocations: 260.9 kB / 1.314 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.9374, allocations: 22.52 kB / 1.314 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.9375, allocations: 12.92 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.9376, allocations: 93.09 kB / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9377, allocations: 38.5 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9377, allocations: 0 / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000257/0.9379, allocations: 45.69 kB / 1.314 GB, free: 12.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.938, allocations: 55.41 kB / 1.314 GB, free: 12.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.9381, allocations: 105.8 kB / 1.314 GB, free: 12.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.9381, allocations: 25.7 kB / 1.314 GB, free: 12.78 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.9381, allocations: 91.98 kB / 1.314 GB, free: 12.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.9382, allocations: 8.031 kB / 1.314 GB, free: 12.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.9382, allocations: 25.64 kB / 1.314 GB, free: 12.65 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9383, allocations: 314.8 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.9383, allocations: 8 kB / 1.314 GB, free: 12.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.9384, allocations: 22.56 kB / 1.314 GB, free: 12.29 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.9384, allocations: 30.58 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.9384, allocations: 0 / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.431e-05/0.9385, allocations: 61.47 kB / 1.315 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.9386, allocations: 11.94 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9386, allocations: 0 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9386, allocations: 288 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.9387, allocations: 8 kB / 1.315 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9387, allocations: 3.938 kB / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.9387, allocations: 4.094 kB / 1.315 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.9387, allocations: 4 kB / 1.315 GB, free: 12.16 MB / 1.045 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 6.966e-05/0.9388, allocations: 109.8 kB / 1.315 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.9388, allocations: 11.97 kB / 1.315 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.9389, allocations: 7.125 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9389, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.9389, allocations: 3.938 kB / 1.315 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9389, allocations: 0 / 1.315 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.9392, allocations: 363.6 kB / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9392, allocations: 0 / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.9392, allocations: 4 kB / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.9392, allocations: 3.938 kB / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.9393, allocations: 0 / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9393, allocations: 0 / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9393, allocations: 0 / 1.315 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.9394, allocations: 85.89 kB / 1.315 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.9394, allocations: 81.05 kB / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.9394, allocations: 8 kB / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.9395, allocations: 0 / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.9395, allocations: 0 / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9395, allocations: 7.984 kB / 1.315 GB, free: 11.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.9396, allocations: 79.28 kB / 1.315 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9396, allocations: 7.969 kB / 1.315 GB, free: 11.28 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001959/0.9398, allocations: 8 kB / 1.315 GB, free: 11.27 MB / 1.045 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.0001251/0.9399, allocations: 99.25 kB / 1.315 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.94, allocations: 19.92 kB / 1.315 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.94, allocations: 0 / 1.315 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.94, allocations: 8 kB / 1.315 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.9403, allocations: 8.25 kB / 1.315 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.9406, allocations: 141.2 kB / 1.316 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.9408, allocations: 0.6845 MB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.9408, allocations: 7.438 kB / 1.316 GB, free: 10.24 MB / 1.045 GB Notification: Performance of SimCode: time 1.9e-07/0.9409, allocations: 0 / 1.316 GB, free: 10.24 MB / 1.045 GB Notification: Performance of Templates: time 0.001911/0.9428, allocations: 0.6167 MB / 1.317 GB, free: 9.625 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches