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.0009684/0.0009684, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009369/0.0009369, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9593/0.9593, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.285e-06/2.285e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.151e-05, allocations: 6.203 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002102/0.002133, allocations: 1.43 MB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.1482, allocations: 143.3 MB / 0.9014 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.1483, allocations: 0 / 0.9014 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.1483, allocations: 7.922 kB / 0.9014 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.1484, allocations: 19.84 kB / 0.9014 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.1492, allocations: 334.2 kB / 0.9017 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.1493, allocations: 71.75 kB / 0.9018 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1493, allocations: 4 kB / 0.9018 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1494, allocations: 39.95 kB / 0.9019 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.1495, allocations: 27.89 kB / 0.9019 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1495, allocations: 0 / 0.9019 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.15, allocations: 382.6 kB / 0.9022 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1501, allocations: 23.91 kB / 0.9023 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1501, allocations: 23.97 kB / 0.9023 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1503, allocations: 171.4 kB / 0.9025 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1503, allocations: 4 kB / 0.9025 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1503, allocations: 0 / 0.9025 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1503, allocations: 0 / 0.9025 GB, free: 4.418 MB / 0.8542 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.0005578/0.1509, allocations: 284.5 kB / 0.9027 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1509, allocations: 12.03 kB / 0.9027 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.1512, allocations: 60.69 kB / 0.9028 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.606e-05/0.1513, allocations: 121.7 kB / 0.9029 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1513, allocations: 8.375 kB / 0.9029 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1513, allocations: 8.328 kB / 0.9029 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1514, allocations: 204.9 kB / 0.9031 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1514, allocations: 0 / 0.9031 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1515, allocations: 0 / 0.9031 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1515, allocations: 0 / 0.9031 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.1515, allocations: 31.91 kB / 0.9032 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.1516, allocations: 78.7 kB / 0.9032 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1517, allocations: 77.34 kB / 0.9033 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.1517, allocations: 16.86 kB / 0.9033 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.727e-05/0.1518, allocations: 23.98 kB / 0.9033 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1518, allocations: 38.55 kB / 0.9034 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 7.91e-07/0.1518, allocations: 0 / 0.9034 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0008992/0.1527, allocations: 0.4905 MB / 0.9039 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.1528, allocations: 51.41 kB / 0.9039 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.1528, allocations: 106.7 kB / 0.904 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1528, allocations: 33.7 kB / 0.904 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.1528, allocations: 80.64 kB / 0.9041 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1529, allocations: 71.38 kB / 0.9042 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1529, allocations: 41.69 kB / 0.9042 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.153, allocations: 318.8 kB / 0.9045 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.153, allocations: 15.98 kB / 0.9045 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.1531, allocations: 56.56 kB / 0.9046 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.1531, allocations: 86.17 kB / 0.9047 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1532, allocations: 0 / 0.9047 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001073/0.1533, allocations: 105.5 kB / 0.9048 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1533, allocations: 8 kB / 0.9048 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1533, allocations: 3.984 kB / 0.9048 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1533, allocations: 7.984 kB / 0.9048 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.1534, allocations: 43.92 kB / 0.9048 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.1534, allocations: 0 / 0.9048 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.1534, allocations: 8 kB / 0.9049 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1534, allocations: 4 kB / 0.9049 GB, free: 1.723 MB / 0.8542 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 5.963e-05/0.1535, allocations: 124.6 kB / 0.905 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.1535, allocations: 15.92 kB / 0.905 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1535, allocations: 16.47 kB / 0.905 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1535, allocations: 0 / 0.905 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1535, allocations: 4 kB / 0.905 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1535, allocations: 4 kB / 0.905 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.1536, allocations: 89.86 kB / 0.9051 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1536, allocations: 0 / 0.9051 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1537, allocations: 44.11 kB / 0.9051 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1537, allocations: 7.938 kB / 0.9052 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.1537, allocations: 0 / 0.9052 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1537, allocations: 0 / 0.9052 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1537, allocations: 0 / 0.9052 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1539, allocations: 157.4 kB / 0.9053 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.1539, allocations: 19.88 kB / 0.9053 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1539, allocations: 7.938 kB / 0.9053 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.154, allocations: 8 kB / 0.9053 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.154, allocations: 11.98 kB / 0.9053 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.154, allocations: 7.984 kB / 0.9054 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.614e-06/0.154, allocations: 4.859 kB / 0.9054 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.154, allocations: 0 / 0.9054 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001221/0.1541, allocations: 32 kB / 0.9054 GB, free: 1.125 MB / 0.8542 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.529e-05/0.1542, allocations: 88.45 kB / 0.9055 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.1543, allocations: 76.75 kB / 0.9055 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1543, allocations: 0 / 0.9055 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.1544, allocations: 44.78 kB / 0.9056 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1545, allocations: 27.97 kB / 0.9056 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.155, allocations: 335.4 kB / 0.9059 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.1551, allocations: 71.94 kB / 0.906 GB, free: 440 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.56e-05/0.1551, allocations: 20.64 kB / 0.906 GB, free: 420 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.1552, allocations: 83.36 kB / 0.9061 GB, free: 336 kB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.1552, allocations: 0 / 0.9061 GB, free: 336 kB / 0.8542 GB Notification: Performance of Templates: time 0.003044/0.1583, allocations: 1.621 MB / 0.9077 GB, free: 14.75 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.158778508193791]