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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003488/0.003488, allocations: 186 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.955/2.955, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 71.88 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 168.7 MB / 1.274 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1977/1.28, allocations: 148.8 MB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.000191/1.28, allocations: 55.86 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/1.28, allocations: 0 / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/1.28, allocations: 7.922 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/1.281, allocations: 15.92 kB / 1.42 GB, free: 14.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/1.282, allocations: 226.6 kB / 1.42 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/1.282, allocations: 39.84 kB / 1.42 GB, free: 14.58 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/1.282, allocations: 7.984 kB / 1.42 GB, free: 14.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/1.282, allocations: 11.94 kB / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/1.282, allocations: 19.97 kB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/1.282, allocations: 0 / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/1.283, allocations: 211.3 kB / 1.42 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/1.283, allocations: 7.938 kB / 1.42 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/1.283, allocations: 15.98 kB / 1.42 GB, free: 14.31 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003386/1.283, allocations: 118.1 kB / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.283, allocations: 0 / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.573e-06/1.283, allocations: 4 kB / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.283, allocations: 0 / 1.42 GB, free: 14.2 MB / 1.123 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.0005092/1.284, allocations: 262.3 kB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.284, allocations: 8.031 kB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/1.284, allocations: 24.91 kB / 1.421 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.284, allocations: 114.4 kB / 1.421 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.284, allocations: 29.64 kB / 1.421 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/1.284, allocations: 7.938 kB / 1.421 GB, free: 13.7 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/1.284, allocations: 49.67 kB / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.285, allocations: 0 / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.285, allocations: 0 / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/1.285, allocations: 4 kB / 1.421 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/1.285, allocations: 19.98 kB / 1.421 GB, free: 13.62 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/1.285, allocations: 232 kB / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/1.285, allocations: 34.45 kB / 1.421 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/1.285, allocations: 8.922 kB / 1.421 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/1.285, allocations: 15.98 kB / 1.421 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.285, allocations: 34.56 kB / 1.421 GB, free: 13.24 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/1.285, allocations: 0 / 1.421 GB, free: 13.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002941/1.286, allocations: 53.62 kB / 1.421 GB, free: 13.18 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.286, allocations: 55.41 kB / 1.421 GB, free: 13.12 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.286, allocations: 101.8 kB / 1.421 GB, free: 13.01 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.286, allocations: 25.7 kB / 1.421 GB, free: 12.98 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/1.286, allocations: 96.03 kB / 1.421 GB, free: 12.88 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/1.286, allocations: 3.953 kB / 1.421 GB, free: 12.88 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/1.286, allocations: 17.72 kB / 1.421 GB, free: 12.85 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.286, allocations: 315 kB / 1.422 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/1.286, allocations: 7.984 kB / 1.422 GB, free: 12.53 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/1.286, allocations: 22.58 kB / 1.422 GB, free: 12.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/1.286, allocations: 34.5 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.286, allocations: 0 / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.675e-05/1.286, allocations: 57.59 kB / 1.422 GB, free: 12.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.286, allocations: 8 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.286, allocations: 0 / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.286, allocations: 3.984 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/1.286, allocations: 8 kB / 1.422 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/1.286, allocations: 3.938 kB / 1.422 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/1.287, allocations: 0 / 1.422 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/1.287, allocations: 4 kB / 1.422 GB, free: 12.36 MB / 1.123 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.938e-05/1.287, allocations: 109.9 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/1.287, allocations: 8 kB / 1.422 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/1.287, allocations: 3.312 kB / 1.422 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.287, allocations: 0 / 1.422 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.287, allocations: 3.938 kB / 1.422 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.287, allocations: 3.984 kB / 1.422 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/1.287, allocations: 330.7 kB / 1.422 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.287, allocations: 8.344 kB / 1.422 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/1.287, allocations: 4 kB / 1.422 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.287, allocations: 11.86 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.287, allocations: 3.938 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.287, allocations: 3.938 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.287, allocations: 0 / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/1.287, allocations: 77.94 kB / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/1.287, allocations: 3.938 kB / 1.422 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/1.287, allocations: 7.984 kB / 1.422 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/1.287, allocations: 4 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/1.287, allocations: 4 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/1.287, allocations: 0 / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7e-05/1.287, allocations: 83.27 kB / 1.423 GB, free: 11.62 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.287, allocations: 0 / 1.423 GB, free: 11.62 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002053/1.288, allocations: 8 kB / 1.423 GB, free: 11.61 MB / 1.123 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.0001572/1.288, allocations: 103.2 kB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.288, allocations: 12 kB / 1.423 GB, free: 11.49 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.288, allocations: 0 / 1.423 GB, free: 11.49 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/1.288, allocations: 11.92 kB / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/1.288, allocations: 12.59 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/1.289, allocations: 124 kB / 1.423 GB, free: 11.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.289, allocations: 0.6768 MB / 1.423 GB, free: 10.62 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.678e-05/1.289, allocations: 4 kB / 1.423 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/1.289, allocations: 7.438 kB / 1.423 GB, free: 10.61 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.289, allocations: 4 kB / 1.423 GB, free: 10.6 MB / 1.123 GB Notification: Performance of Templates: time 0.003439/1.292, allocations: 0.6052 MB / 1.424 GB, free: 10 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (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) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.728581196628511]