Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009611/0.0009611, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009915/0.0009915, allocations: 165 kB / 23.82 MB, free: 0.75 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.9688/0.9688, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.834/1.834, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.865e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002373/0.002391, allocations: 1.364 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.1313, allocations: 144 MB / 0.929 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.1313, allocations: 0 / 0.929 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.1314, allocations: 3.938 kB / 0.929 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.1315, allocations: 23.84 kB / 0.929 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.1325, allocations: 326.3 kB / 0.9293 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1326, allocations: 71.69 kB / 0.9294 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.1326, allocations: 4 kB / 0.9294 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.063e-05/0.1327, allocations: 35.95 kB / 0.9294 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.1328, allocations: 35.89 kB / 0.9295 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1328, allocations: 0 / 0.9295 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.1335, allocations: 382.5 kB / 0.9298 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1335, allocations: 23.91 kB / 0.9298 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.1336, allocations: 19.97 kB / 0.9299 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1339, allocations: 167.5 kB / 0.93 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1339, allocations: 0 / 0.93 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1339, allocations: 0 / 0.93 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1339, allocations: 0 / 0.93 GB, free: 9.633 MB / 0.8855 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.0004211/0.1343, allocations: 424.2 kB / 0.9304 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1343, allocations: 12.03 kB / 0.9304 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.1347, allocations: 56.61 kB / 0.9305 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.1348, allocations: 112.6 kB / 0.9306 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1348, allocations: 8.375 kB / 0.9306 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1349, allocations: 16.36 kB / 0.9306 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.135, allocations: 198.1 kB / 0.9308 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1351, allocations: 0 / 0.9308 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1351, allocations: 0 / 0.9308 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1351, allocations: 4 kB / 0.9308 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.1351, allocations: 35.95 kB / 0.9309 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1353, allocations: 136.5 kB / 0.931 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1355, allocations: 87.11 kB / 0.9311 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1355, allocations: 24.02 kB / 0.9311 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.1356, allocations: 27.91 kB / 0.9311 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1357, allocations: 49.33 kB / 0.9312 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1357, allocations: 0 / 0.9312 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0009891/0.1367, allocations: 443.2 kB / 0.9316 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1367, allocations: 59.39 kB / 0.9316 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.1368, allocations: 153.9 kB / 0.9318 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1368, allocations: 29.7 kB / 0.9318 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.1368, allocations: 131.4 kB / 0.9319 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1369, allocations: 71.39 kB / 0.932 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1369, allocations: 47.36 kB / 0.9321 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.137, allocations: 0.4922 MB / 0.9325 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.1371, allocations: 23.98 kB / 0.9326 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.1372, allocations: 80.67 kB / 0.9326 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1373, allocations: 102.7 kB / 0.9327 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1373, allocations: 0 / 0.9327 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001851/0.1375, allocations: 137.5 kB / 0.9329 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1375, allocations: 4 kB / 0.9329 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1375, allocations: 0 / 0.9329 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1375, allocations: 8 kB / 0.9329 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1376, allocations: 39.92 kB / 0.9329 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1376, allocations: 0 / 0.9329 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.1377, allocations: 8 kB / 0.9329 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1377, allocations: 8 kB / 0.9329 GB, free: 6.363 MB / 0.8855 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 8.058e-05/0.1378, allocations: 172.4 kB / 0.9331 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1378, allocations: 15.95 kB / 0.9331 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.1378, allocations: 20.45 kB / 0.9331 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1378, allocations: 4 kB / 0.9331 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1378, allocations: 0 / 0.9331 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1378, allocations: 4 kB / 0.9331 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1379, allocations: 140.7 kB / 0.9333 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1379, allocations: 0 / 0.9333 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1381, allocations: 39.98 kB / 0.9333 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1381, allocations: 0 / 0.9333 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1381, allocations: 4 kB / 0.9333 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1381, allocations: 0 / 0.9333 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1381, allocations: 0 / 0.9333 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1383, allocations: 193.8 kB / 0.9335 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1384, allocations: 23.92 kB / 0.9335 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1384, allocations: 3.984 kB / 0.9335 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.1385, allocations: 12 kB / 0.9335 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1385, allocations: 7.984 kB / 0.9335 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1385, allocations: 8 kB / 0.9336 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.1385, allocations: 123.2 kB / 0.9337 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 0.9337 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002198/0.1388, allocations: 36 kB / 0.9337 GB, free: 5.5 MB / 0.8855 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.0001106/0.1389, allocations: 103.2 kB / 0.9338 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.139, allocations: 95.62 kB / 0.9339 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.139, allocations: 0 / 0.9339 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.1391, allocations: 51.59 kB / 0.9339 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1393, allocations: 41.08 kB / 0.934 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1404, allocations: 412.4 kB / 0.9344 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.1404, allocations: 68.08 kB / 0.9344 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.576e-05/0.1405, allocations: 24.62 kB / 0.9345 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1405, allocations: 16.5 kB / 0.9345 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of SimCode: time 8.31e-07/0.1405, allocations: 0 / 0.9345 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of Templates: time 0.003704/0.1442, allocations: 1.546 MB / 0.936 GB, free: 3.141 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.119281599763781]