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.0007221/0.0007221, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001731, allocations: 440 kB / 10.41 MB, free: 284 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.0006862/0.0006862, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009232/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9807/0.9807, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08724/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.38/2.38, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2904/2.671, allocations: 146 MB / 0.8176 GB, free: 3.805 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.433e-06/1.433e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.4e-05, allocations: 2.312 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1273/0.1273, allocations: 144.8 MB / 0.9604 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.1302, allocations: 3.813 MB / 0.9641 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.1303, allocations: 0 / 0.9641 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1305, allocations: 75.52 kB / 0.9642 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1307, allocations: 155.1 kB / 0.9644 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1321, allocations: 1.123 MB / 0.9655 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1324, allocations: 347.5 kB / 0.9658 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.1324, allocations: 10.47 kB / 0.9658 GB, free: 11.49 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.1328, allocations: 267.1 kB / 0.9661 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1329, allocations: 115.6 kB / 0.9662 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1329, allocations: 12 kB / 0.9662 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.134, allocations: 1.098 MB / 0.9672 GB, free: 10 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.134, allocations: 59.84 kB / 0.9673 GB, free: 9.941 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.1341, allocations: 63.94 kB / 0.9674 GB, free: 9.879 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.1347, allocations: 0.5609 MB / 0.9679 GB, free: 9.316 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.1347, allocations: 0 / 0.9679 GB, free: 9.316 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1347, allocations: 0 / 0.9679 GB, free: 9.316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.1347, allocations: 0 / 0.9679 GB, free: 9.316 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.0007843/0.1355, allocations: 0.6564 MB / 0.9686 GB, free: 8.617 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1355, allocations: 12.03 kB / 0.9686 GB, free: 8.605 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007286/0.1362, allocations: 240.2 kB / 0.9688 GB, free: 8.371 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1364, allocations: 149.5 kB / 0.9689 GB, free: 8.199 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1364, allocations: 24.69 kB / 0.969 GB, free: 8.176 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1364, allocations: 20.38 kB / 0.969 GB, free: 8.156 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1368, allocations: 482.5 kB / 0.9694 GB, free: 7.602 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1368, allocations: 0 / 0.9694 GB, free: 7.602 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1368, allocations: 12 kB / 0.9695 GB, free: 7.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.1368, allocations: 12 kB / 0.9695 GB, free: 7.578 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.137, allocations: 157.1 kB / 0.9696 GB, free: 7.426 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.1378, allocations: 0.7683 MB / 0.9704 GB, free: 6.621 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.138, allocations: 170.8 kB / 0.9705 GB, free: 6.441 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.138, allocations: 35.09 kB / 0.9706 GB, free: 6.406 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.1382, allocations: 67.94 kB / 0.9706 GB, free: 6.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1382, allocations: 38.56 kB / 0.9707 GB, free: 6.293 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.1382, allocations: 0 / 0.9707 GB, free: 6.293 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0002864/0.1385, allocations: 145.4 kB / 0.9708 GB, free: 6.145 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1385, allocations: 55.41 kB / 0.9709 GB, free: 6.078 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.1386, allocations: 157 kB / 0.971 GB, free: 5.914 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1386, allocations: 33.7 kB / 0.971 GB, free: 5.875 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1387, allocations: 152.1 kB / 0.9712 GB, free: 5.723 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1388, allocations: 83.3 kB / 0.9713 GB, free: 5.641 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.1389, allocations: 45.69 kB / 0.9713 GB, free: 5.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.1389, allocations: 334.7 kB / 0.9716 GB, free: 5.254 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.139, allocations: 23.11 kB / 0.9716 GB, free: 5.227 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.1391, allocations: 112.8 kB / 0.9718 GB, free: 5.078 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1392, allocations: 195.6 kB / 0.9719 GB, free: 4.844 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1392, allocations: 0 / 0.9719 GB, free: 4.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002184/0.1394, allocations: 196.5 kB / 0.9721 GB, free: 4.641 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1394, allocations: 4 kB / 0.9721 GB, free: 4.637 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1394, allocations: 8 kB / 0.9721 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1394, allocations: 4 kB / 0.9721 GB, free: 4.625 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1396, allocations: 59.92 kB / 0.9722 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1396, allocations: 4.375 kB / 0.9722 GB, free: 4.562 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.1397, allocations: 35.77 kB / 0.9722 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1397, allocations: 8 kB / 0.9722 GB, free: 4.52 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 8.147e-05/0.1398, allocations: 128.6 kB / 0.9724 GB, free: 4.383 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.1399, allocations: 39.78 kB / 0.9724 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.1401, allocations: 157.7 kB / 0.9726 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1401, allocations: 4 kB / 0.9726 GB, free: 4.184 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.1401, allocations: 0 / 0.9726 GB, free: 4.184 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1401, allocations: 3.984 kB / 0.9726 GB, free: 4.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1404, allocations: 381.8 kB / 0.9729 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1404, allocations: 4.062 kB / 0.9729 GB, free: 3.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.1405, allocations: 35.92 kB / 0.973 GB, free: 3.734 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1405, allocations: 31.81 kB / 0.973 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1405, allocations: 0 / 0.973 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1405, allocations: 11.92 kB / 0.973 GB, free: 3.691 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1405, allocations: 8 kB / 0.973 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1405, allocations: 0 / 0.973 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1408, allocations: 303.6 kB / 0.9733 GB, free: 3.363 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1408, allocations: 4 kB / 0.9733 GB, free: 3.359 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.1409, allocations: 15.94 kB / 0.9733 GB, free: 3.344 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.1409, allocations: 15.97 kB / 0.9733 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1409, allocations: 8 kB / 0.9733 GB, free: 3.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.1409, allocations: 39.25 kB / 0.9734 GB, free: 3.281 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1409, allocations: 0 / 0.9734 GB, free: 3.281 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002713/0.1412, allocations: 131.6 kB / 0.9735 GB, free: 3.152 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.0003072/0.1415, allocations: 208 kB / 0.9737 GB, free: 2.941 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1417, allocations: 128.8 kB / 0.9738 GB, free: 2.812 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.1417, allocations: 7.984 kB / 0.9738 GB, free: 2.805 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.1418, allocations: 71.02 kB / 0.9739 GB, free: 2.734 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1422, allocations: 232.4 kB / 0.9741 GB, free: 2.484 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.1451, allocations: 447.6 kB / 0.9746 GB, free: 2.012 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.1452, allocations: 80.83 kB / 0.9746 GB, free: 1.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.1453, allocations: 37.61 kB / 0.9747 GB, free: 1.875 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.1455, allocations: 151.2 kB / 0.9748 GB, free: 1.727 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.1455, allocations: 0 / 0.9748 GB, free: 1.727 MB / 0.948 GB Notification: Performance of Templates: time 0.007485/0.153, allocations: 6.183 MB / 0.9808 GB, free: 11.64 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.424132054671645]