Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001833/0.001833, allocations: 111.3 kB / 17.08 MB, free: 6.012 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.001938/0.001938, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.388/1.388, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8985, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1849/1.083, allocations: 148.3 MB / 1.407 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/1.084, allocations: 59.22 kB / 1.407 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/1.084, allocations: 0 / 1.407 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/1.084, allocations: 5.312 kB / 1.407 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/1.084, allocations: 6.547 kB / 1.407 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/1.085, allocations: 224.1 kB / 1.408 GB, free: 10.42 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/1.085, allocations: 28.48 kB / 1.408 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/1.085, allocations: 5.797 kB / 1.408 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/1.085, allocations: 21.55 kB / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/1.085, allocations: 13.73 kB / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/1.085, allocations: 1.469 kB / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/1.086, allocations: 192.7 kB / 1.408 GB, free: 10.28 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/1.086, allocations: 16.02 kB / 1.408 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/1.086, allocations: 12.95 kB / 1.408 GB, free: 10.26 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/1.086, allocations: 112 kB / 1.408 GB, free: 10.21 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.086, allocations: 0 / 1.408 GB, free: 10.21 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/1.086, allocations: 3.938 kB / 1.408 GB, free: 10.2 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.321e-06/1.086, allocations: 0 / 1.408 GB, free: 10.2 MB / 1.107 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.0004623/1.087, allocations: 342.7 kB / 1.408 GB, free: 9.836 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.087, allocations: 9.406 kB / 1.408 GB, free: 9.836 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/1.087, allocations: 31.8 kB / 1.408 GB, free: 9.82 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/1.087, allocations: 165.5 kB / 1.409 GB, free: 9.621 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/1.087, allocations: 30.83 kB / 1.409 GB, free: 9.586 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.087, allocations: 5.438 kB / 1.409 GB, free: 9.582 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/1.087, allocations: 52.78 kB / 1.409 GB, free: 9.535 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.087, allocations: 1.062 kB / 1.409 GB, free: 9.535 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.087, allocations: 4 kB / 1.409 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/1.087, allocations: 6.609 kB / 1.409 GB, free: 9.527 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/1.087, allocations: 20.36 kB / 1.409 GB, free: 9.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/1.088, allocations: 256.3 kB / 1.409 GB, free: 9.234 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/1.088, allocations: 24.3 kB / 1.409 GB, free: 9.207 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/1.088, allocations: 7.047 kB / 1.409 GB, free: 9.199 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.088, allocations: 98.66 kB / 1.409 GB, free: 9.094 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.088, allocations: 35.72 kB / 1.409 GB, free: 9.051 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.088, allocations: 1.031 kB / 1.409 GB, free: 9.051 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0002483/1.088, allocations: 47.44 kB / 1.409 GB, free: 9.012 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.089, allocations: 52.59 kB / 1.409 GB, free: 8.949 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/1.089, allocations: 111.8 kB / 1.409 GB, free: 8.836 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.089, allocations: 25.7 kB / 1.409 GB, free: 8.805 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/1.089, allocations: 90.23 kB / 1.409 GB, free: 8.715 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/1.089, allocations: 5.203 kB / 1.409 GB, free: 8.711 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.089, allocations: 20.58 kB / 1.409 GB, free: 8.688 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.089, allocations: 316.3 kB / 1.41 GB, free: 8.371 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/1.089, allocations: 10.55 kB / 1.41 GB, free: 8.363 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/1.089, allocations: 24.08 kB / 1.41 GB, free: 8.336 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/1.089, allocations: 31.23 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.089, allocations: 0 / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.146e-05/1.089, allocations: 54.19 kB / 1.41 GB, free: 8.262 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.089, allocations: 5.375 kB / 1.41 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.089, allocations: 0 / 1.41 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.089, allocations: 1.469 kB / 1.41 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/1.089, allocations: 13.86 kB / 1.41 GB, free: 8.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.089, allocations: 9.5 kB / 1.41 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/1.089, allocations: 1.094 kB / 1.41 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/1.089, allocations: 1.469 kB / 1.41 GB, free: 8.246 MB / 1.107 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.607e-05/1.089, allocations: 112.5 kB / 1.41 GB, free: 8.129 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/1.089, allocations: 5.125 kB / 1.41 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/1.089, allocations: 4.594 kB / 1.41 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.089, allocations: 3.938 kB / 1.41 GB, free: 8.121 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.089, allocations: 9.344 kB / 1.41 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.089, allocations: 3.984 kB / 1.41 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/1.09, allocations: 364.6 kB / 1.41 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.09, allocations: 1.312 kB / 1.41 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/1.09, allocations: 2.906 kB / 1.41 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/1.09, allocations: 7.922 kB / 1.41 GB, free: 7.695 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/1.09, allocations: 1.094 kB / 1.41 GB, free: 7.695 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.09, allocations: 1.5 kB / 1.41 GB, free: 7.695 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.09, allocations: 0 / 1.41 GB, free: 7.695 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.634e-05/1.09, allocations: 72.09 kB / 1.41 GB, free: 7.613 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/1.09, allocations: 86.3 kB / 1.41 GB, free: 7.512 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.09, allocations: 5.703 kB / 1.41 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/1.09, allocations: 2.781 kB / 1.411 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/1.09, allocations: 1.344 kB / 1.411 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/1.09, allocations: 1 kB / 1.411 GB, free: 7.508 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.524e-05/1.09, allocations: 91.25 kB / 1.411 GB, free: 7.422 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.09, allocations: 0 / 1.411 GB, free: 7.422 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001908/1.09, allocations: 6.594 kB / 1.411 GB, free: 7.422 MB / 1.107 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.0001454/1.091, allocations: 101.4 kB / 1.411 GB, free: 7.332 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/1.091, allocations: 14.09 kB / 1.411 GB, free: 7.328 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.091, allocations: 192 / 1.411 GB, free: 7.328 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/1.091, allocations: 7.875 kB / 1.411 GB, free: 7.324 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.091, allocations: 13.61 kB / 1.411 GB, free: 7.316 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.091, allocations: 151 kB / 1.411 GB, free: 7.152 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.092, allocations: 0.6814 MB / 1.412 GB, free: 6.449 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/1.092, allocations: 8.562 kB / 1.412 GB, free: 6.441 MB / 1.107 GB Notification: Performance of SimCode: time 2e-07/1.092, allocations: 1.344 kB / 1.412 GB, free: 6.441 MB / 1.107 GB Notification: Performance of Templates: time 0.002156/1.094, allocations: 0.6187 MB / 1.412 GB, free: 6.129 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.038109951885417]