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.0009709/0.0009709, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001005/0.001005, allocations: 185 kB / 24.09 MB, free: 416 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.9363/0.9363, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.702/1.702, allocations: 359 MB / 0.6055 GB, free: 10.84 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.573e-06/1.573e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.783e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001627/0.001645, allocations: 1.37 MB / 0.7889 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1241, allocations: 141.2 MB / 0.9268 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.1241, allocations: 0 / 0.9268 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.1242, allocations: 11.86 kB / 0.9268 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 9.568e-05/0.1243, allocations: 15.92 kB / 0.9268 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.1251, allocations: 334.3 kB / 0.9271 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.1252, allocations: 67.7 kB / 0.9272 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.1252, allocations: 8 kB / 0.9272 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1253, allocations: 43.88 kB / 0.9273 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.1254, allocations: 31.89 kB / 0.9273 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1254, allocations: 4 kB / 0.9273 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005757/0.126, allocations: 366.7 kB / 0.9276 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.126, allocations: 19.91 kB / 0.9277 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.126, allocations: 27.91 kB / 0.9277 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.1263, allocations: 167.5 kB / 0.9278 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1263, allocations: 4 kB / 0.9278 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1263, allocations: 4 kB / 0.9279 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1263, allocations: 0 / 0.9279 GB, free: 12.03 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.0003513/0.1267, allocations: 420.2 kB / 0.9283 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1267, allocations: 8.031 kB / 0.9283 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.127, allocations: 56.67 kB / 0.9283 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.366e-05/0.1271, allocations: 116.5 kB / 0.9284 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1271, allocations: 8.375 kB / 0.9284 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1271, allocations: 8.375 kB / 0.9284 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1272, allocations: 202.1 kB / 0.9286 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1272, allocations: 3.938 kB / 0.9286 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1272, allocations: 0 / 0.9286 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1272, allocations: 0 / 0.9286 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.1273, allocations: 31.95 kB / 0.9287 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.1274, allocations: 121.2 kB / 0.9288 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1275, allocations: 75.17 kB / 0.9289 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.1275, allocations: 27.61 kB / 0.9289 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1276, allocations: 27.92 kB / 0.9289 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1276, allocations: 41.72 kB / 0.9289 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1276, allocations: 0 / 0.9289 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0006766/0.1283, allocations: 439 kB / 0.9294 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.1283, allocations: 59.34 kB / 0.9294 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.1284, allocations: 161.9 kB / 0.9296 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1284, allocations: 25.7 kB / 0.9296 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.1285, allocations: 131.2 kB / 0.9297 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1285, allocations: 71.36 kB / 0.9298 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1285, allocations: 47.36 kB / 0.9298 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.1287, allocations: 0.4884 MB / 0.9303 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.1287, allocations: 15.98 kB / 0.9303 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.1287, allocations: 64.73 kB / 0.9304 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.1288, allocations: 102.6 kB / 0.9305 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1288, allocations: 3.938 kB / 0.9305 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001222/0.1289, allocations: 133.6 kB / 0.9306 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1289, allocations: 8 kB / 0.9306 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1289, allocations: 0 / 0.9306 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1289, allocations: 4 kB / 0.9306 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.129, allocations: 35.98 kB / 0.9307 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.129, allocations: 0 / 0.9307 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.1291, allocations: 8 kB / 0.9307 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1291, allocations: 3.938 kB / 0.9307 GB, free: 8.848 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.022e-05/0.1291, allocations: 168.5 kB / 0.9308 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1292, allocations: 15.95 kB / 0.9309 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.1292, allocations: 20.45 kB / 0.9309 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1292, allocations: 4 kB / 0.9309 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1292, allocations: 0 / 0.9309 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1292, allocations: 4 kB / 0.9309 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.567e-05/0.1293, allocations: 121.2 kB / 0.931 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1293, allocations: 3.984 kB / 0.931 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.1294, allocations: 35.92 kB / 0.931 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1294, allocations: 7.938 kB / 0.931 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1294, allocations: 4.125 kB / 0.931 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1294, allocations: 0 / 0.931 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1294, allocations: 0 / 0.931 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1295, allocations: 180.9 kB / 0.9312 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.1296, allocations: 19.88 kB / 0.9312 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.1296, allocations: 4 kB / 0.9312 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.1296, allocations: 7.984 kB / 0.9313 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.1296, allocations: 11.92 kB / 0.9313 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1296, allocations: 8 kB / 0.9313 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.1297, allocations: 123.2 kB / 0.9314 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1297, allocations: 0 / 0.9314 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001368/0.1298, allocations: 28 kB / 0.9314 GB, free: 8.031 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 9.482e-05/0.1299, allocations: 107.3 kB / 0.9315 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.13, allocations: 85.11 kB / 0.9316 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.13, allocations: 3.938 kB / 0.9316 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.13, allocations: 55.55 kB / 0.9317 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.1302, allocations: 28.44 kB / 0.9317 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.1308, allocations: 409.1 kB / 0.9321 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.1308, allocations: 72.02 kB / 0.9321 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.845e-05/0.1309, allocations: 20.62 kB / 0.9322 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.131, allocations: 110.2 kB / 0.9323 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.131, allocations: 0 / 0.9323 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of Templates: time 0.002963/0.1339, allocations: 1.614 MB / 0.9338 GB, free: 5.512 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: 4.881264322437346]