Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009563/0.0009563, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009388/0.0009388, allocations: 166 kB / 24.87 MB, free: 9.262 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.9185/0.9185, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.87/1.87, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.697e-05, allocations: 3.375 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001692/0.001709, allocations: 1.375 MB / 0.8141 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.1317, allocations: 141.2 MB / 0.952 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1318, allocations: 0 / 0.952 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.1318, allocations: 3.984 kB / 0.952 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1319, allocations: 15.86 kB / 0.952 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.1326, allocations: 342.2 kB / 0.9524 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.1327, allocations: 63.77 kB / 0.9524 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.1328, allocations: 4 kB / 0.9524 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.1328, allocations: 47.88 kB / 0.9525 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.1329, allocations: 23.95 kB / 0.9525 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1329, allocations: 4 kB / 0.9525 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.1334, allocations: 374.5 kB / 0.9528 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.1335, allocations: 19.97 kB / 0.9529 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.1335, allocations: 27.91 kB / 0.9529 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1337, allocations: 167.5 kB / 0.9531 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1337, allocations: 4 kB / 0.9531 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1337, allocations: 0 / 0.9531 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1337, allocations: 0 / 0.9531 GB, free: 1.328 MB / 0.9011 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.000328/0.134, allocations: 420.2 kB / 0.9535 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1341, allocations: 8.031 kB / 0.9535 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.1343, allocations: 56.67 kB / 0.9535 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.1344, allocations: 120.5 kB / 0.9536 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1344, allocations: 8.375 kB / 0.9536 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1345, allocations: 12.33 kB / 0.9537 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1346, allocations: 198 kB / 0.9538 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1346, allocations: 0 / 0.9538 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1346, allocations: 4 kB / 0.9538 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1346, allocations: 0 / 0.9538 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.1347, allocations: 39.83 kB / 0.9539 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.1348, allocations: 109.3 kB / 0.954 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1349, allocations: 83.14 kB / 0.9541 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.1349, allocations: 27.67 kB / 0.9541 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.135, allocations: 27.98 kB / 0.9541 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.135, allocations: 37.39 kB / 0.9542 GB, free: 52 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.135, allocations: 0 / 0.9542 GB, free: 52 kB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.0007555/0.1358, allocations: 447.7 kB / 0.9546 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1358, allocations: 59.34 kB / 0.9546 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.1359, allocations: 149.9 kB / 0.9548 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1359, allocations: 33.7 kB / 0.9548 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.1359, allocations: 127.2 kB / 0.9549 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.136, allocations: 75.34 kB / 0.955 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.136, allocations: 43.36 kB / 0.955 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1361, allocations: 0.4923 MB / 0.9555 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.1362, allocations: 15.98 kB / 0.9555 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.1362, allocations: 69.27 kB / 0.9556 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.915e-05/0.1363, allocations: 94.64 kB / 0.9557 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1363, allocations: 3.938 kB / 0.9557 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000127/0.1364, allocations: 133.5 kB / 0.9558 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1364, allocations: 8 kB / 0.9558 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1364, allocations: 0 / 0.9558 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1364, allocations: 0 / 0.9558 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.1365, allocations: 39.92 kB / 0.9559 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1365, allocations: 4 kB / 0.9559 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.1366, allocations: 4 kB / 0.9559 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1366, allocations: 4 kB / 0.9559 GB, free: 14.14 MB / 0.9167 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 7.844e-05/0.1367, allocations: 176.5 kB / 0.9561 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.1367, allocations: 11.95 kB / 0.9561 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.1367, allocations: 24.45 kB / 0.9561 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1367, allocations: 0 / 0.9561 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1367, allocations: 0 / 0.9561 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1367, allocations: 0 / 0.9561 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.1368, allocations: 117.2 kB / 0.9562 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1368, allocations: 3.984 kB / 0.9562 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1369, allocations: 39.92 kB / 0.9562 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1369, allocations: 3.938 kB / 0.9562 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1369, allocations: 12 kB / 0.9563 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1369, allocations: 0 / 0.9563 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1369, allocations: 0 / 0.9563 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1371, allocations: 172.3 kB / 0.9564 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1371, allocations: 19.86 kB / 0.9564 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1371, allocations: 4 kB / 0.9564 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.1372, allocations: 11.98 kB / 0.9565 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1372, allocations: 11.98 kB / 0.9565 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1372, allocations: 4 kB / 0.9565 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.1372, allocations: 119.2 kB / 0.9566 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 4.094 kB / 0.9566 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001423/0.1374, allocations: 35.98 kB / 0.9566 GB, free: 13.32 MB / 0.9167 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 9.38e-05/0.1375, allocations: 107.2 kB / 0.9567 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1376, allocations: 79.53 kB / 0.9568 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1376, allocations: 0 / 0.9568 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.1376, allocations: 56.78 kB / 0.9569 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.1378, allocations: 40.75 kB / 0.9569 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.1386, allocations: 406.2 kB / 0.9573 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.1386, allocations: 79.91 kB / 0.9574 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.164e-05/0.1387, allocations: 20.62 kB / 0.9574 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.1388, allocations: 114.2 kB / 0.9575 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of SimCode: time 8.42e-07/0.1388, allocations: 0 / 0.9575 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.003203/0.142, allocations: 1.644 MB / 0.9591 GB, free: 10.78 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.252934140153229]