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.001343/0.001343, allocations: 87.58 kB / 20.45 MB, free: 4.105 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.00101/0.00101, allocations: 165 kB / 23.82 MB, free: 0.7383 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 1.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11.02 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.533e-06/1.533e-06, allocations: 0.6562 kB / 0.787 GB, free: 11.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.46e-05, allocations: 7.156 kB / 0.787 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002276/0.0023, allocations: 1.372 MB / 0.7884 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1258/0.1281, allocations: 144 MB / 0.929 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.1282, allocations: 0 / 0.929 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.1282, allocations: 3.984 kB / 0.929 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1283, allocations: 15.86 kB / 0.929 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.1291, allocations: 338.3 kB / 0.9293 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.1292, allocations: 63.77 kB / 0.9294 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1293, allocations: 4 kB / 0.9294 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.1293, allocations: 47.88 kB / 0.9294 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.1294, allocations: 27.89 kB / 0.9294 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1294, allocations: 4 kB / 0.9294 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.1299, allocations: 378.5 kB / 0.9298 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.13, allocations: 15.98 kB / 0.9298 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.13, allocations: 27.91 kB / 0.9299 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1303, allocations: 167.5 kB / 0.93 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1303, allocations: 0 / 0.93 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1303, allocations: 0 / 0.93 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1303, allocations: 4 kB / 0.93 GB, free: 8.555 MB / 0.8386 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.0003817/0.1306, allocations: 415.9 kB / 0.9304 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1307, allocations: 16.03 kB / 0.9304 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.131, allocations: 64.59 kB / 0.9305 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.338e-05/0.1311, allocations: 108.6 kB / 0.9306 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1311, allocations: 4.375 kB / 0.9306 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1311, allocations: 12.38 kB / 0.9306 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1313, allocations: 202 kB / 0.9308 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1313, allocations: 0 / 0.9308 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1313, allocations: 4 kB / 0.9308 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1313, allocations: 4 kB / 0.9308 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.1313, allocations: 35.83 kB / 0.9308 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1315, allocations: 148.5 kB / 0.931 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1316, allocations: 75.19 kB / 0.9311 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.1316, allocations: 31.66 kB / 0.9311 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1318, allocations: 23.98 kB / 0.9311 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1318, allocations: 41.33 kB / 0.9311 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.1318, allocations: 0 / 0.9311 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0008433/0.1326, allocations: 449.6 kB / 0.9316 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.1327, allocations: 63.34 kB / 0.9316 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.1327, allocations: 153.9 kB / 0.9318 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1327, allocations: 29.7 kB / 0.9318 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.1328, allocations: 127.2 kB / 0.9319 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.1328, allocations: 79.36 kB / 0.932 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1329, allocations: 43.5 kB / 0.9321 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.133, allocations: 0.4961 MB / 0.9325 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.133, allocations: 19.98 kB / 0.9326 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1331, allocations: 76.69 kB / 0.9326 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.1332, allocations: 98.67 kB / 0.9327 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1332, allocations: 0 / 0.9327 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00015/0.1333, allocations: 145.5 kB / 0.9329 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1333, allocations: 4 kB / 0.9329 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1333, allocations: 4 kB / 0.9329 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1334, allocations: 0 / 0.9329 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1335, allocations: 39.92 kB / 0.9329 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1335, allocations: 4 kB / 0.9329 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.1335, allocations: 8 kB / 0.9329 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1335, allocations: 4 kB / 0.9329 GB, free: 5.281 MB / 0.8386 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 6.91e-05/0.1336, allocations: 180.4 kB / 0.9331 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.1336, allocations: 11.95 kB / 0.9331 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.1336, allocations: 16.47 kB / 0.9331 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1336, allocations: 4 kB / 0.9331 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1336, allocations: 0 / 0.9331 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1336, allocations: 0 / 0.9331 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.547e-05/0.1337, allocations: 140.5 kB / 0.9333 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1337, allocations: 8 kB / 0.9333 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1338, allocations: 35.92 kB / 0.9333 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1338, allocations: 4 kB / 0.9333 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1338, allocations: 4 kB / 0.9333 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1338, allocations: 0 / 0.9333 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1338, allocations: 0 / 0.9333 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.134, allocations: 184.2 kB / 0.9335 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1341, allocations: 15.94 kB / 0.9335 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1341, allocations: 4 kB / 0.9335 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.1341, allocations: 8 kB / 0.9335 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.1342, allocations: 15.97 kB / 0.9335 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.1342, allocations: 4 kB / 0.9335 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.1342, allocations: 127.2 kB / 0.9337 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1342, allocations: 0 / 0.9337 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001448/0.1343, allocations: 28 kB / 0.9337 GB, free: 4.438 MB / 0.8386 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.0001025/0.1344, allocations: 107.4 kB / 0.9338 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1346, allocations: 91.53 kB / 0.9339 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1346, allocations: 96 / 0.9339 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.1346, allocations: 69.94 kB / 0.9339 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1348, allocations: 40.3 kB / 0.934 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.1355, allocations: 410.5 kB / 0.9344 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.1355, allocations: 68.08 kB / 0.9344 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.931e-05/0.1356, allocations: 24.62 kB / 0.9345 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1357, allocations: 16.5 kB / 0.9345 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.1357, allocations: 0 / 0.9345 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.002926/0.1386, allocations: 1.43 MB / 0.9359 GB, free: 2.172 MB / 0.8386 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.352934273891151]