Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.001205/0.001205, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002878, 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.001125/0.001125, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.00253, 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 0.9189/0.9189, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08213/1.001, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2708/2.639, allocations: 145.9 MB / 0.817 GB, free: 4.207 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.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.627e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002989/0.003016, allocations: 1.413 MB / 0.8197 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1489/0.152, allocations: 143.8 MB / 0.9601 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.152, allocations: 0 / 0.9601 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.152, allocations: 3.984 kB / 0.9601 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.1521, allocations: 19.78 kB / 0.9601 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.1529, allocations: 330.3 kB / 0.9604 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.153, allocations: 63.77 kB / 0.9605 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.153, allocations: 11.98 kB / 0.9605 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.1531, allocations: 43.89 kB / 0.9605 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004604/0.1535, allocations: 31.88 kB / 0.9605 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1535, allocations: 4 kB / 0.9605 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006484/0.1542, allocations: 378.6 kB / 0.9609 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1542, allocations: 11.94 kB / 0.9609 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.1543, allocations: 12 kB / 0.9609 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1545, allocations: 159.5 kB / 0.9611 GB, free: 116 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.1546, allocations: 0 / 0.9611 GB, free: 116 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1546, allocations: 0 / 0.9611 GB, free: 116 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.1546, allocations: 0 / 0.9611 GB, free: 116 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003961/0.155, allocations: 316.2 kB / 0.9614 GB, free: 15.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.155, allocations: 8.625 kB / 0.9614 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.1553, allocations: 145.8 kB / 0.9615 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.1554, allocations: 113.7 kB / 0.9616 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1554, allocations: 4.375 kB / 0.9616 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1554, allocations: 16.33 kB / 0.9617 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1556, allocations: 196.9 kB / 0.9618 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1556, allocations: 0 / 0.9618 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1556, allocations: 8 kB / 0.9619 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1556, allocations: 0 / 0.9619 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.1556, allocations: 27.91 kB / 0.9619 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.584e-05/0.1557, allocations: 86.69 kB / 0.962 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1558, allocations: 65.38 kB / 0.962 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.1558, allocations: 20.86 kB / 0.962 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1559, allocations: 27.95 kB / 0.9621 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.156, allocations: 38.89 kB / 0.9621 GB, free: 14.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.156, allocations: 0 / 0.9621 GB, free: 14.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008991/0.1569, allocations: 492.5 kB / 0.9626 GB, free: 14.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.1569, allocations: 55.41 kB / 0.9626 GB, free: 14.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.157, allocations: 110.7 kB / 0.9627 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.157, allocations: 29.7 kB / 0.9628 GB, free: 14.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.157, allocations: 84.52 kB / 0.9628 GB, free: 14.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.157, allocations: 67.38 kB / 0.9629 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1571, allocations: 53.42 kB / 0.963 GB, free: 13.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.1572, allocations: 322.8 kB / 0.9633 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.1572, allocations: 12 kB / 0.9633 GB, free: 13.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.395e-05/0.1572, allocations: 59.39 kB / 0.9633 GB, free: 13.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.1573, allocations: 82.12 kB / 0.9634 GB, free: 13.47 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1573, allocations: 0 / 0.9634 GB, free: 13.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000113/0.1574, allocations: 109.5 kB / 0.9635 GB, free: 13.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1574, allocations: 8.125 kB / 0.9635 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1574, allocations: 4 kB / 0.9635 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1574, allocations: 0 / 0.9635 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1575, allocations: 43.92 kB / 0.9636 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1575, allocations: 4 kB / 0.9636 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.1576, allocations: 4 kB / 0.9636 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1576, allocations: 4 kB / 0.9636 GB, free: 13.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 6.71e-05/0.1577, allocations: 124.6 kB / 0.9637 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1577, allocations: 15.92 kB / 0.9637 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.1577, allocations: 16.47 kB / 0.9637 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1577, allocations: 11.98 kB / 0.9637 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1577, allocations: 0 / 0.9637 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1577, allocations: 0 / 0.9637 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.579e-05/0.1578, allocations: 93.86 kB / 0.9638 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1578, allocations: 0 / 0.9638 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1579, allocations: 40.11 kB / 0.9639 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1579, allocations: 23.88 kB / 0.9639 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1579, allocations: 3.938 kB / 0.9639 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.158, allocations: 0 / 0.9639 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.158, allocations: 4 kB / 0.9639 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.158, allocations: 0 / 0.9639 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1581, allocations: 156.9 kB / 0.9641 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1581, allocations: 3.938 kB / 0.9641 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.1582, allocations: 8 kB / 0.9641 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1582, allocations: 11.97 kB / 0.9641 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1582, allocations: 8 kB / 0.9641 GB, free: 12.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.735e-06/0.1582, allocations: 4.859 kB / 0.9641 GB, free: 12.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1582, allocations: 0 / 0.9641 GB, free: 12.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000118/0.1583, allocations: 28 kB / 0.9641 GB, free: 12.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * 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.0001105/0.1584, allocations: 96.39 kB / 0.9642 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.1585, allocations: 80.7 kB / 0.9643 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1585, allocations: 4 kB / 0.9643 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.1586, allocations: 44.77 kB / 0.9643 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1587, allocations: 44.42 kB / 0.9644 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1598, allocations: 279.5 kB / 0.9646 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.1598, allocations: 72.06 kB / 0.9647 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.1599, allocations: 20.64 kB / 0.9647 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.16, allocations: 87.34 kB / 0.9648 GB, free: 11.92 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/0.16, allocations: 4 kB / 0.9648 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Templates: time 0.003283/0.1633, allocations: 1.721 MB / 0.9665 GB, free: 10.24 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.327573496848345]