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.00102/0.00102, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009864/0.0009864, allocations: 169 kB / 23.02 MB, free: 1.551 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.9894/0.9894, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.143/2.143, allocations: 429.5 MB / 0.6733 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.543e-06/1.543e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.764e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002315/0.002343, allocations: 1.391 MB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.1356, allocations: 144 MB / 1.02 GB, free: 4.504 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.1356, allocations: 0 / 1.02 GB, free: 4.504 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 5.762e-05/0.1357, allocations: 3.938 kB / 1.02 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1358, allocations: 15.84 kB / 1.02 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1369, allocations: 338.3 kB / 1.02 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.137, allocations: 71.75 kB / 1.02 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1371, allocations: 3.938 kB / 1.02 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.1371, allocations: 39.95 kB / 1.021 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1373, allocations: 27.89 kB / 1.021 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1373, allocations: 4 kB / 1.021 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.138, allocations: 378.6 kB / 1.021 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.1381, allocations: 19.91 kB / 1.021 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.1381, allocations: 23.97 kB / 1.021 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1384, allocations: 171.5 kB / 1.021 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1384, allocations: 0 / 1.021 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1384, allocations: 0 / 1.021 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1384, allocations: 0 / 1.021 GB, free: 3.426 MB / 0.9792 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.0003933/0.1388, allocations: 420.1 kB / 1.022 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1389, allocations: 8.031 kB / 1.022 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.1392, allocations: 64.66 kB / 1.022 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.1393, allocations: 116.5 kB / 1.022 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1393, allocations: 4.375 kB / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1394, allocations: 12.36 kB / 1.022 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1395, allocations: 202.1 kB / 1.022 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1396, allocations: 0 / 1.022 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1396, allocations: 8 kB / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1396, allocations: 0 / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.1396, allocations: 31.97 kB / 1.022 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1398, allocations: 140.5 kB / 1.022 GB, free: 2.309 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.14, allocations: 91.08 kB / 1.022 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.14, allocations: 23.77 kB / 1.022 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.1402, allocations: 23.98 kB / 1.022 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1402, allocations: 45.31 kB / 1.022 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1402, allocations: 0 / 1.022 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0009307/0.1411, allocations: 442.2 kB / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1412, allocations: 59.36 kB / 1.023 GB, free: 1.562 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.1412, allocations: 153.9 kB / 1.023 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1412, allocations: 33.7 kB / 1.023 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.1413, allocations: 127.2 kB / 1.023 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.1413, allocations: 71.38 kB / 1.023 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1414, allocations: 47.31 kB / 1.023 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1415, allocations: 0.4961 MB / 1.024 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.1415, allocations: 28.11 kB / 1.024 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.1416, allocations: 73.69 kB / 1.024 GB, free: 492 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1417, allocations: 106.7 kB / 1.024 GB, free: 368 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1417, allocations: 0 / 1.024 GB, free: 368 kB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001617/0.1419, allocations: 141.6 kB / 1.024 GB, free: 220 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1419, allocations: 8 kB / 1.024 GB, free: 212 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1419, allocations: 0 / 1.024 GB, free: 212 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1419, allocations: 4 kB / 1.024 GB, free: 208 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.142, allocations: 35.92 kB / 1.024 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.142, allocations: 4 kB / 1.024 GB, free: 168 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.1421, allocations: 4 kB / 1.024 GB, free: 164 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1421, allocations: 12 kB / 1.024 GB, free: 152 kB / 0.9792 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 9.783e-05/0.1422, allocations: 172.5 kB / 1.024 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1422, allocations: 15.95 kB / 1.024 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.1422, allocations: 12.47 kB / 1.024 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1422, allocations: 7.984 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1422, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1422, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1423, allocations: 136.6 kB / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1423, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1425, allocations: 43.91 kB / 1.024 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1425, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1425, allocations: 8.125 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1425, allocations: 4 kB / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1425, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1427, allocations: 190.3 kB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.1427, allocations: 15.94 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1428, allocations: 4 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.1428, allocations: 11.98 kB / 1.025 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1428, allocations: 7.984 kB / 1.025 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1428, allocations: 8 kB / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.1429, allocations: 123.2 kB / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1429, allocations: 0 / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001551/0.143, allocations: 28 kB / 1.025 GB, free: 15.3 MB / 0.9948 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.0001201/0.1431, allocations: 111.2 kB / 1.025 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1433, allocations: 87.58 kB / 1.025 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1433, allocations: 4 kB / 1.025 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.1433, allocations: 53.11 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1436, allocations: 40 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.1443, allocations: 402.6 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.1443, allocations: 68.08 kB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.1444, allocations: 28.61 kB / 1.026 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1445, allocations: 20.5 kB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of SimCode: time 9.12e-07/0.1445, allocations: 0 / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of Templates: time 0.003749/0.1482, allocations: 1.435 MB / 1.027 GB, free: 13.05 MB / 0.9948 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 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.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.843625959008932]