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.0009819/0.0009819, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001178/0.001178, allocations: 166 kB / 24.87 MB, free: 9.27 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.9972/0.9972, 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 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.817/1.817, allocations: 359 MB / 0.6063 GB, free: 10.88 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 7.41e-07/7.41e-07, allocations: 0 / 0.7882 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.009e-05, allocations: 3.031 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001447/0.001457, allocations: 1.388 MB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1209/0.1223, allocations: 141.2 MB / 0.9275 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.1224, allocations: 0 / 0.9275 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.1224, allocations: 7.922 kB / 0.9275 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.1225, allocations: 19.84 kB / 0.9276 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.1231, allocations: 338.2 kB / 0.9279 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.1232, allocations: 63.77 kB / 0.928 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 2.065e-05/0.1232, allocations: 7.984 kB / 0.928 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.1233, allocations: 39.89 kB / 0.928 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.1233, allocations: 27.95 kB / 0.928 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1233, allocations: 7.984 kB / 0.928 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.1239, allocations: 378.5 kB / 0.9284 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1239, allocations: 11.98 kB / 0.9284 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.124, allocations: 23.92 kB / 0.9284 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.1242, allocations: 163.6 kB / 0.9286 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1242, allocations: 3.984 kB / 0.9286 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1242, allocations: 0 / 0.9286 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1242, allocations: 7.938 kB / 0.9286 GB, free: 12.06 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.0003637/0.1246, allocations: 420.2 kB / 0.929 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1246, allocations: 8.031 kB / 0.929 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.125, allocations: 60.66 kB / 0.9291 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.125, allocations: 116.5 kB / 0.9292 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.125, allocations: 384 / 0.9292 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1251, allocations: 12.38 kB / 0.9292 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1252, allocations: 198.1 kB / 0.9294 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1252, allocations: 7.984 kB / 0.9294 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1252, allocations: 0 / 0.9294 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1252, allocations: 0 / 0.9294 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.1253, allocations: 35.89 kB / 0.9294 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.1254, allocations: 121.2 kB / 0.9295 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1255, allocations: 79.11 kB / 0.9296 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.1256, allocations: 27.67 kB / 0.9296 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1257, allocations: 19.98 kB / 0.9297 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1257, allocations: 37.39 kB / 0.9297 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.1257, allocations: 4 kB / 0.9297 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0008106/0.1265, allocations: 439 kB / 0.9301 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1265, allocations: 59.41 kB / 0.9302 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.1266, allocations: 157.9 kB / 0.9303 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1266, allocations: 29.83 kB / 0.9303 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.1266, allocations: 131.2 kB / 0.9305 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.1267, allocations: 71.36 kB / 0.9305 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1267, allocations: 51.34 kB / 0.9306 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1269, allocations: 496.1 kB / 0.9311 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.1269, allocations: 19.98 kB / 0.9311 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.1269, allocations: 64.67 kB / 0.9311 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.127, allocations: 98.64 kB / 0.9312 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.127, allocations: 3.938 kB / 0.9312 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001555/0.1272, allocations: 129.5 kB / 0.9314 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1272, allocations: 4 kB / 0.9314 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1272, allocations: 4 kB / 0.9314 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1272, allocations: 4 kB / 0.9314 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1273, allocations: 39.92 kB / 0.9314 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1273, allocations: 0 / 0.9314 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1274, allocations: 8 kB / 0.9314 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1274, allocations: 7.938 kB / 0.9314 GB, free: 8.871 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 7.991e-05/0.1275, allocations: 180.4 kB / 0.9316 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1275, allocations: 11.95 kB / 0.9316 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1275, allocations: 16.47 kB / 0.9316 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1275, allocations: 4 kB / 0.9316 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1275, allocations: 4 kB / 0.9316 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1275, allocations: 0 / 0.9316 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.843e-05/0.1276, allocations: 117.2 kB / 0.9317 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1276, allocations: 0 / 0.9317 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1278, allocations: 39.98 kB / 0.9318 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1278, allocations: 3.938 kB / 0.9318 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1278, allocations: 0 / 0.9318 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1278, allocations: 128 / 0.9318 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1278, allocations: 8 kB / 0.9318 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.128, allocations: 174.1 kB / 0.932 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.128, allocations: 23.88 kB / 0.932 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.128, allocations: 4 kB / 0.932 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.1281, allocations: 4 kB / 0.932 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1281, allocations: 11.98 kB / 0.932 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1281, allocations: 7.984 kB / 0.932 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.1282, allocations: 123.2 kB / 0.9321 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1282, allocations: 0 / 0.9321 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001987/0.1284, allocations: 28 kB / 0.9322 GB, free: 8.062 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.1285, allocations: 107.3 kB / 0.9323 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1286, allocations: 83.56 kB / 0.9323 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1286, allocations: 0 / 0.9323 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.1286, allocations: 56.58 kB / 0.9324 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1289, allocations: 32.67 kB / 0.9324 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.1295, allocations: 406.6 kB / 0.9328 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.1296, allocations: 76 kB / 0.9329 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.572e-05/0.1296, allocations: 16.64 kB / 0.9329 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1297, allocations: 106.2 kB / 0.933 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.1297, allocations: 4 kB / 0.933 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of Templates: time 0.003799/0.1335, allocations: 1.649 MB / 0.9346 GB, free: 5.52 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.275774016045034]