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.0009667/0.0009667, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001023/0.001023, allocations: 173 kB / 24.28 MB, free: 276 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 1.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.814/1.814, allocations: 359 MB / 0.6055 GB, free: 11.01 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.723e-06/1.723e-06, allocations: 0 / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.758e-05, allocations: 3.375 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001617/0.001635, allocations: 1.383 MB / 0.7884 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.1313, allocations: 143.7 MB / 0.9287 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.1314, allocations: 0 / 0.9287 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.1314, allocations: 7.922 kB / 0.9287 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1316, allocations: 11.92 kB / 0.9287 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.1325, allocations: 338.2 kB / 0.929 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1326, allocations: 67.7 kB / 0.9291 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1326, allocations: 7.984 kB / 0.9291 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.1327, allocations: 35.95 kB / 0.9292 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1328, allocations: 35.88 kB / 0.9292 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1328, allocations: 0 / 0.9292 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.1334, allocations: 374.6 kB / 0.9295 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.1335, allocations: 23.91 kB / 0.9296 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.1335, allocations: 16 kB / 0.9296 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1338, allocations: 179.5 kB / 0.9298 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1338, allocations: 0 / 0.9298 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1338, allocations: 0 / 0.9298 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1338, allocations: 0 / 0.9298 GB, free: 10.25 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.0004607/0.1343, allocations: 420.1 kB / 0.9302 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1343, allocations: 12.03 kB / 0.9302 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.1348, allocations: 56.66 kB / 0.9302 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.1349, allocations: 116.6 kB / 0.9303 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1349, allocations: 4.375 kB / 0.9303 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1349, allocations: 16.31 kB / 0.9303 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1351, allocations: 198.1 kB / 0.9305 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1351, allocations: 4 kB / 0.9305 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1351, allocations: 4 kB / 0.9305 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1351, allocations: 0 / 0.9305 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/0.1352, allocations: 31.97 kB / 0.9306 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.1354, allocations: 132.6 kB / 0.9307 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1356, allocations: 79.03 kB / 0.9308 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.1356, allocations: 36.03 kB / 0.9308 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1358, allocations: 27.92 kB / 0.9308 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1358, allocations: 41.33 kB / 0.9309 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.083e-06/0.1358, allocations: 0 / 0.9309 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0009353/0.1367, allocations: 458.2 kB / 0.9313 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1367, allocations: 55.41 kB / 0.9314 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.1368, allocations: 153.9 kB / 0.9315 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1368, allocations: 33.7 kB / 0.9315 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.1369, allocations: 131.2 kB / 0.9317 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.1369, allocations: 71.39 kB / 0.9317 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.137, allocations: 43.36 kB / 0.9318 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1371, allocations: 0.4961 MB / 0.9323 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.1372, allocations: 24.11 kB / 0.9323 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.1372, allocations: 72.7 kB / 0.9324 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1374, allocations: 102.7 kB / 0.9325 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1374, allocations: 0 / 0.9325 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001666/0.1375, allocations: 141.6 kB / 0.9326 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1375, allocations: 4 kB / 0.9326 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1376, allocations: 7.984 kB / 0.9326 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1376, allocations: 4 kB / 0.9326 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1377, allocations: 39.92 kB / 0.9326 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1377, allocations: 0 / 0.9326 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.1377, allocations: 8 kB / 0.9327 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1378, allocations: 11.98 kB / 0.9327 GB, free: 6.973 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 0.0001015/0.1379, allocations: 172.5 kB / 0.9328 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1379, allocations: 11.95 kB / 0.9328 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.1379, allocations: 16.47 kB / 0.9329 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1379, allocations: 4 kB / 0.9329 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1379, allocations: 0 / 0.9329 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1379, allocations: 3.984 kB / 0.9329 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1381, allocations: 136.6 kB / 0.933 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1381, allocations: 0 / 0.933 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.1382, allocations: 35.98 kB / 0.933 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1382, allocations: 4 kB / 0.933 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1382, allocations: 11.98 kB / 0.933 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1382, allocations: 0 / 0.933 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1382, allocations: 3.938 kB / 0.933 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1384, allocations: 185.9 kB / 0.9332 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.1385, allocations: 15.94 kB / 0.9332 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1385, allocations: 4 kB / 0.9332 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.1385, allocations: 8 kB / 0.9333 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.1386, allocations: 11.97 kB / 0.9333 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1386, allocations: 8 kB / 0.9333 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.1386, allocations: 123.2 kB / 0.9334 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1386, allocations: 0 / 0.9334 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000142/0.1387, allocations: 28 kB / 0.9334 GB, free: 6.133 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.0001394/0.1389, allocations: 111.2 kB / 0.9335 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.139, allocations: 91.53 kB / 0.9336 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.139, allocations: 0 / 0.9336 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.1391, allocations: 54.02 kB / 0.9337 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1393, allocations: 52.7 kB / 0.9337 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.1402, allocations: 406.3 kB / 0.9341 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.1402, allocations: 72.02 kB / 0.9342 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.547e-05/0.1403, allocations: 20.64 kB / 0.9342 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1403, allocations: 16.5 kB / 0.9342 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/0.1403, allocations: 0 / 0.9342 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of Templates: time 0.003679/0.144, allocations: 1.431 MB / 0.9356 GB, free: 3.875 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.401206841925159]