Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.001287/0.001287, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001351/0.001351, allocations: 169 kB / 23.82 MB, free: 0.7422 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.8984/0.8984, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.679/1.679, allocations: 359 MB / 0.6052 GB, free: 11 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.29e-05, allocations: 5.578 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001576/0.001599, allocations: 1.301 MB / 0.7884 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.002924, allocations: 1.369 MB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.002945, allocations: 0 / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.002964, allocations: 0.5625 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.003618, allocations: 224.2 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.407e-05/0.003693, allocations: 31.95 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.003739, allocations: 8.875 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.003774, allocations: 7.984 kB / 0.79 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.003804, allocations: 8.531 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1204/0.1243, allocations: 51.69 MB / 0.8404 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1243, allocations: 0 / 0.8404 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.1243, allocations: 0 / 0.8404 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1243, allocations: 4 kB / 0.8404 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1243, allocations: 4 kB / 0.8405 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1245, allocations: 23.77 kB / 0.8405 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1245, allocations: 0 / 0.8405 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1245, allocations: 0 / 0.8405 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1245, allocations: 0 / 0.8405 GB, free: 10.15 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002726/0.1248, allocations: 348.7 kB / 0.8408 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1248, allocations: 8.031 kB / 0.8408 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.1249, allocations: 124.1 kB / 0.8409 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.125, allocations: 223.8 kB / 0.8411 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.125, allocations: 242.8 kB / 0.8414 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.1251, allocations: 246.7 kB / 0.8416 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.844e-05/0.1251, allocations: 145.5 kB / 0.8418 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1251, allocations: 123.4 kB / 0.8419 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.1252, allocations: 250.4 kB / 0.8421 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.1253, allocations: 238.4 kB / 0.8423 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1253, allocations: 238.4 kB / 0.8426 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.1255, allocations: 0.572 MB / 0.8431 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.1256, allocations: 261.4 kB / 0.8434 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.1256, allocations: 134.8 kB / 0.8435 GB, free: 6.926 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1257, allocations: 119.2 kB / 0.8436 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.1257, allocations: 152.6 kB / 0.8438 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.1257, allocations: 0 / 0.8438 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 6.388e-05/0.1258, allocations: 41.75 kB / 0.8438 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.1259, allocations: 251.6 kB / 0.844 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.126, allocations: 157.9 kB / 0.8442 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.126, allocations: 25.7 kB / 0.8442 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.126, allocations: 134.9 kB / 0.8443 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.126, allocations: 0 / 0.8443 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.126, allocations: 19.38 kB / 0.8444 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1261, allocations: 496.1 kB / 0.8448 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.1261, allocations: 3.938 kB / 0.8448 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.1262, allocations: 104.2 kB / 0.8449 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.1262, allocations: 119.2 kB / 0.8451 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/0.1263, allocations: 127.2 kB / 0.8452 GB, free: 5.082 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.216e-05/0.1263, allocations: 29.7 kB / 0.8452 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1263, allocations: 123.2 kB / 0.8453 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.1264, allocations: 131.1 kB / 0.8454 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.949e-05/0.1264, allocations: 238.4 kB / 0.8457 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.734e-05/0.1265, allocations: 127.2 kB / 0.8458 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/0.1265, allocations: 246.3 kB / 0.846 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1266, allocations: 119.2 kB / 0.8461 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1266, allocations: 127.1 kB / 0.8463 GB, free: 3.953 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000119/0.1268, allocations: 398.9 kB / 0.8466 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1268, allocations: 152.9 kB / 0.8468 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1269, allocations: 148 kB / 0.8469 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/0.1269, allocations: 272 kB / 0.8472 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-05/0.127, allocations: 276 kB / 0.8475 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.1271, allocations: 276 kB / 0.8477 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1272, allocations: 492.1 kB / 0.8482 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.1273, allocations: 144.9 kB / 0.8483 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1273, allocations: 152.8 kB / 0.8485 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.403e-05/0.1274, allocations: 272.1 kB / 0.8487 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.1274, allocations: 272 kB / 0.849 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.875e-05/0.1275, allocations: 272.1 kB / 0.8492 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.895e-05/0.1275, allocations: 268 kB / 0.8495 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.1277, allocations: 456 kB / 0.8499 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1278, allocations: 152.8 kB / 0.8501 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.1278, allocations: 268.1 kB / 0.8503 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1279, allocations: 152.8 kB / 0.8505 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.128, allocations: 272.3 kB / 0.8507 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.128, allocations: 144.9 kB / 0.8509 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.1281, allocations: 123.2 kB / 0.851 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.1281, allocations: 4 kB / 0.851 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001587/0.1282, allocations: 0 / 0.851 GB, free: 14.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001177/0.1283, allocations: 222.4 kB / 0.8512 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.112e-05/0.1284, allocations: 12.02 kB / 0.8512 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1284, allocations: 0 / 0.8512 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1284, allocations: 0 / 0.8512 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1287, allocations: 0.7062 MB / 0.8519 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.1289, allocations: 217.5 kB / 0.8521 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.129, allocations: 55.34 kB / 0.8522 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.129, allocations: 8 kB / 0.8522 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.129, allocations: 12.44 kB / 0.8522 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.129, allocations: 0 / 0.8522 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.002064/0.1311, allocations: 0.5895 MB / 0.8528 GB, free: 13.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.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.752333456184715]