Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8629/0.8629, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.857e-05, allocations: 10.28 kB / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5074/0.5075, allocations: 130.4 MB / 1.109 GB, free: 24.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.5076, allocations: 45.84 kB / 1.11 GB, free: 24.76 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.5076, allocations: 0 / 1.11 GB, free: 24.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.5077, allocations: 6.625 kB / 1.11 GB, free: 24.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.5078, allocations: 13.48 kB / 1.11 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.5084, allocations: 216.8 kB / 1.11 GB, free: 24.66 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.5084, allocations: 33.73 kB / 1.11 GB, free: 24.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.5085, allocations: 6.703 kB / 1.11 GB, free: 24.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.5085, allocations: 20.2 kB / 1.11 GB, free: 24.64 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.5086, allocations: 12.56 kB / 1.11 GB, free: 24.63 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.5086, allocations: 1.375 kB / 1.11 GB, free: 24.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.5089, allocations: 164 kB / 1.11 GB, free: 24.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.5089, allocations: 18.56 kB / 1.11 GB, free: 24.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.5089, allocations: 6.359 kB / 1.11 GB, free: 24.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.5091, allocations: 114.6 kB / 1.11 GB, free: 24.53 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5091, allocations: 0 / 1.11 GB, free: 24.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5091, allocations: 3.938 kB / 1.11 GB, free: 24.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5091, allocations: 1.062 kB / 1.11 GB, free: 24.52 MB / 0.9948 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.000291/0.5094, allocations: 262.3 kB / 1.11 GB, free: 24.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5095, allocations: 9.609 kB / 1.11 GB, free: 24.26 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.5097, allocations: 22.8 kB / 1.11 GB, free: 24.26 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.537e-05/0.5098, allocations: 112 kB / 1.111 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.5098, allocations: 58.94 kB / 1.111 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.5098, allocations: 1.5 kB / 1.111 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.5099, allocations: 80.75 kB / 1.111 GB, free: 23.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5099, allocations: 1.125 kB / 1.111 GB, free: 23.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5099, allocations: 3.984 kB / 1.111 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.51, allocations: 5.266 kB / 1.111 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.51, allocations: 20.83 kB / 1.111 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.5102, allocations: 201.8 kB / 1.111 GB, free: 23.78 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.5103, allocations: 28.02 kB / 1.111 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.5103, allocations: 7.875 kB / 1.111 GB, free: 23.74 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.963e-05/0.5104, allocations: 24.91 kB / 1.111 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.5104, allocations: 32.78 kB / 1.111 GB, free: 23.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5104, allocations: 5.141 kB / 1.111 GB, free: 23.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.5106, allocations: 47.58 kB / 1.111 GB, free: 23.65 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.5106, allocations: 52.66 kB / 1.111 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.5106, allocations: 108.3 kB / 1.111 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.5106, allocations: 27.08 kB / 1.111 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.5106, allocations: 89.8 kB / 1.111 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.5106, allocations: 5.828 kB / 1.111 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.5107, allocations: 17.84 kB / 1.111 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.158e-05/0.5107, allocations: 317.3 kB / 1.112 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.5107, allocations: 8.641 kB / 1.112 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.5107, allocations: 24.47 kB / 1.112 GB, free: 22.99 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.5108, allocations: 33.33 kB / 1.112 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5108, allocations: 0.7969 kB / 1.112 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.653e-05/0.5108, allocations: 57.39 kB / 1.112 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5108, allocations: 4.719 kB / 1.112 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5108, allocations: 1.844 kB / 1.112 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5108, allocations: 1.062 kB / 1.112 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.5109, allocations: 11.08 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5109, allocations: 2.859 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.5109, allocations: 5.109 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.5109, allocations: 5.344 kB / 1.112 GB, free: 22.91 MB / 0.9948 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 3.325e-05/0.5109, allocations: 117.9 kB / 1.112 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.5109, allocations: 2.406 kB / 1.112 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.511, allocations: 4.062 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.511, allocations: 1.312 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.511, allocations: 0.7031 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.511, allocations: 1.375 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.5111, allocations: 313.3 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5111, allocations: 1.594 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.5111, allocations: 10.05 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5111, allocations: 3.375 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.5111, allocations: 1.812 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5111, allocations: 0.7031 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5111, allocations: 1.438 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.351e-05/0.5111, allocations: 79.66 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-06/0.5112, allocations: 2.234 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.5112, allocations: 2.219 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.5112, allocations: 3.969 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.5112, allocations: 0.7031 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.5112, allocations: 9.969 kB / 1.112 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.617e-05/0.5112, allocations: 85.33 kB / 1.112 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5112, allocations: 0 / 1.112 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001309/0.5114, allocations: 6.406 kB / 1.112 GB, free: 22.27 MB / 0.9948 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 8.542e-05/0.5115, allocations: 98.59 kB / 1.112 GB, free: 22.19 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.176e-05/0.5115, allocations: 19.11 kB / 1.112 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5115, allocations: 0 / 1.112 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.5115, allocations: 9.156 kB / 1.112 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.5117, allocations: 3.641 kB / 1.112 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.5119, allocations: 142 kB / 1.113 GB, free: 22.03 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.5119, allocations: 68.48 kB / 1.113 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.5119, allocations: 9.875 kB / 1.113 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of SimCode: time 4.21e-07/0.5119, allocations: 3.938 kB / 1.113 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of Templates: time 0.001504/0.5135, allocations: 0.6371 MB / 1.113 GB, free: 21.91 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.944624208845198]