Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.001103/0.001103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002688, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001095/0.001095, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002469, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09854/1.102, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.473/2.473, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.717, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.611e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1388/0.1388, allocations: 144.8 MB / 0.9598 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1418, allocations: 3.82 MB / 0.9635 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1419, allocations: 0 / 0.9635 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.1421, allocations: 75.53 kB / 0.9636 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1423, allocations: 143.1 kB / 0.9637 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1439, allocations: 1.128 MB / 0.9648 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.1442, allocations: 343.5 kB / 0.9652 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1442, allocations: 10.47 kB / 0.9652 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.1446, allocations: 267.1 kB / 0.9654 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1447, allocations: 119.6 kB / 0.9655 GB, free: 11.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1447, allocations: 12 kB / 0.9655 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1459, allocations: 1.086 MB / 0.9666 GB, free: 10.43 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.1459, allocations: 59.84 kB / 0.9667 GB, free: 10.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.146, allocations: 67.88 kB / 0.9667 GB, free: 10.31 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.1467, allocations: 0.557 MB / 0.9673 GB, free: 9.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.1467, allocations: 0 / 0.9673 GB, free: 9.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1467, allocations: 0 / 0.9673 GB, free: 9.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.1467, allocations: 0 / 0.9673 GB, free: 9.75 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000826/0.1475, allocations: 0.672 MB / 0.9679 GB, free: 9.035 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1476, allocations: 12.62 kB / 0.9679 GB, free: 9.023 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/0.1482, allocations: 236.2 kB / 0.9682 GB, free: 8.793 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1484, allocations: 149.6 kB / 0.9683 GB, free: 8.621 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1484, allocations: 12.75 kB / 0.9683 GB, free: 8.609 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1484, allocations: 28.36 kB / 0.9683 GB, free: 8.582 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.1489, allocations: 482.5 kB / 0.9688 GB, free: 8.027 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1489, allocations: 0 / 0.9688 GB, free: 8.027 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1489, allocations: 16 kB / 0.9688 GB, free: 8.012 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.149, allocations: 8 kB / 0.9688 GB, free: 8.004 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1492, allocations: 149.1 kB / 0.969 GB, free: 7.859 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.15, allocations: 0.78 MB / 0.9697 GB, free: 7.047 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.1502, allocations: 162.9 kB / 0.9699 GB, free: 6.875 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.1502, allocations: 32.84 kB / 0.9699 GB, free: 6.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.1504, allocations: 79.86 kB / 0.97 GB, free: 6.762 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1504, allocations: 34.56 kB / 0.97 GB, free: 6.719 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.1504, allocations: 4 kB / 0.97 GB, free: 6.715 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0002926/0.1507, allocations: 147.6 kB / 0.9702 GB, free: 6.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1508, allocations: 55.41 kB / 0.9702 GB, free: 6.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.1508, allocations: 157.1 kB / 0.9704 GB, free: 6.336 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1509, allocations: 33.7 kB / 0.9704 GB, free: 6.297 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.1509, allocations: 148.2 kB / 0.9705 GB, free: 6.148 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.151, allocations: 79.3 kB / 0.9706 GB, free: 6.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.151, allocations: 53.67 kB / 0.9707 GB, free: 6.012 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.1511, allocations: 330.7 kB / 0.971 GB, free: 5.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.1512, allocations: 23.11 kB / 0.971 GB, free: 5.652 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.1512, allocations: 115.7 kB / 0.9711 GB, free: 5.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1514, allocations: 181 kB / 0.9713 GB, free: 5.277 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1514, allocations: 8 kB / 0.9713 GB, free: 5.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002332/0.1516, allocations: 186.9 kB / 0.9715 GB, free: 5.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1516, allocations: 8 kB / 0.9715 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1516, allocations: 4 kB / 0.9715 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1517, allocations: 4 kB / 0.9715 GB, free: 5.062 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1518, allocations: 60.28 kB / 0.9716 GB, free: 5.004 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1518, allocations: 11.98 kB / 0.9716 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.1519, allocations: 27.78 kB / 0.9716 GB, free: 4.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1519, allocations: 12 kB / 0.9716 GB, free: 4.953 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.795e-05/0.152, allocations: 124.6 kB / 0.9717 GB, free: 4.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.1521, allocations: 47.72 kB / 0.9718 GB, free: 4.773 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.1523, allocations: 150.8 kB / 0.9719 GB, free: 4.621 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1523, allocations: 4 kB / 0.9719 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1523, allocations: 0 / 0.9719 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1523, allocations: 3.938 kB / 0.9719 GB, free: 4.613 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.1526, allocations: 389.6 kB / 0.9723 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1526, allocations: 0 / 0.9723 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.1527, allocations: 31.94 kB / 0.9723 GB, free: 4.168 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1527, allocations: 31.81 kB / 0.9724 GB, free: 4.137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1527, allocations: 4 kB / 0.9724 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1527, allocations: 4 kB / 0.9724 GB, free: 4.129 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1527, allocations: 4 kB / 0.9724 GB, free: 4.125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1527, allocations: 0 / 0.9724 GB, free: 4.125 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.153, allocations: 310.6 kB / 0.9727 GB, free: 3.801 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.153, allocations: 4.062 kB / 0.9727 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.1531, allocations: 15.98 kB / 0.9727 GB, free: 3.781 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1531, allocations: 7.984 kB / 0.9727 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1531, allocations: 15.98 kB / 0.9727 GB, free: 3.758 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.1532, allocations: 31.64 kB / 0.9727 GB, free: 3.727 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1532, allocations: 0 / 0.9727 GB, free: 3.727 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002864/0.1534, allocations: 139.6 kB / 0.9729 GB, free: 3.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003244/0.1538, allocations: 223.9 kB / 0.9731 GB, free: 3.363 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.1539, allocations: 111.7 kB / 0.9732 GB, free: 3.254 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/0.1539, allocations: 4 kB / 0.9732 GB, free: 3.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.154, allocations: 52.77 kB / 0.9732 GB, free: 3.195 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1543, allocations: 117.2 kB / 0.9733 GB, free: 3.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.1573, allocations: 443.6 kB / 0.9738 GB, free: 2.613 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.014e-05/0.1573, allocations: 84.81 kB / 0.9739 GB, free: 2.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003849/0.1577, allocations: 37.62 kB / 0.9739 GB, free: 2.477 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.1581, allocations: 147.2 kB / 0.974 GB, free: 2.332 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/0.1581, allocations: 0 / 0.974 GB, free: 2.332 MB / 0.948 GB Notification: Performance of Templates: time 0.008471/0.1665, allocations: 6.047 MB / 0.9799 GB, free: 12.37 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.AirProperties/Buildings_latest_Buildings.Media.Examples.AirProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.653555669821799]