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.001382/0.001382, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001507/0.001507, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9468/0.9468, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.745/1.745, 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.412e-06/1.412e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.68e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002264/0.00229, allocations: 1.291 MB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.004377, allocations: 1.366 MB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.004404, allocations: 4.594 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.004431, allocations: 0 / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008918/0.005323, allocations: 224.2 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.00543, allocations: 34.11 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.005504, allocations: 11.94 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.005551, allocations: 0 / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.509e-05/0.005606, allocations: 19.97 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.131/0.1366, allocations: 51.7 MB / 0.8404 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1366, allocations: 0 / 0.8404 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1367, allocations: 0 / 0.8404 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1367, allocations: 0 / 0.8404 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1367, allocations: 4 kB / 0.8405 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1368, allocations: 15.92 kB / 0.8405 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1368, allocations: 0 / 0.8405 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1368, allocations: 0 / 0.8405 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1368, allocations: 4 kB / 0.8405 GB, free: 10.14 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.0002535/0.1371, allocations: 344.7 kB / 0.8408 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1371, allocations: 12.02 kB / 0.8408 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1372, allocations: 128.1 kB / 0.8409 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1373, allocations: 231.8 kB / 0.8412 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.1373, allocations: 238.8 kB / 0.8414 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.1374, allocations: 242.8 kB / 0.8416 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.503e-05/0.1375, allocations: 149.3 kB / 0.8418 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.1375, allocations: 119.4 kB / 0.8419 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.1376, allocations: 242.5 kB / 0.8421 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.1376, allocations: 242.4 kB / 0.8423 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.1377, allocations: 242.4 kB / 0.8426 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.1379, allocations: 0.572 MB / 0.8431 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.138, allocations: 265.4 kB / 0.8434 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.138, allocations: 126.9 kB / 0.8435 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1381, allocations: 119.2 kB / 0.8436 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.1381, allocations: 164.5 kB / 0.8438 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.1381, allocations: 3.984 kB / 0.8438 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 6.028e-05/0.1382, allocations: 29.75 kB / 0.8438 GB, free: 6.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.1383, allocations: 259.6 kB / 0.844 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.1384, allocations: 157.9 kB / 0.8442 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1384, allocations: 33.7 kB / 0.8442 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1384, allocations: 126.9 kB / 0.8444 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1384, allocations: 0 / 0.8444 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.1384, allocations: 19.38 kB / 0.8444 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1385, allocations: 496.1 kB / 0.8448 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.1385, allocations: 0 / 0.8448 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.1386, allocations: 108.2 kB / 0.8449 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.1386, allocations: 123.2 kB / 0.8451 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.1386, allocations: 119.2 kB / 0.8452 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.514e-05/0.1387, allocations: 29.7 kB / 0.8452 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.1387, allocations: 135 kB / 0.8453 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.1388, allocations: 119.2 kB / 0.8454 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.344e-05/0.1388, allocations: 246.4 kB / 0.8457 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.1388, allocations: 131.2 kB / 0.8458 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.356e-05/0.1389, allocations: 238.4 kB / 0.846 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.139, allocations: 131.1 kB / 0.8462 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.139, allocations: 119.2 kB / 0.8463 GB, free: 3.93 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.0001147/0.1391, allocations: 395 kB / 0.8467 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1392, allocations: 152.9 kB / 0.8468 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.1392, allocations: 152 kB / 0.8469 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.1393, allocations: 272.1 kB / 0.8472 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/0.1394, allocations: 276 kB / 0.8475 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.603e-05/0.1394, allocations: 264.1 kB / 0.8477 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1396, allocations: 499.9 kB / 0.8482 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.1396, allocations: 148.8 kB / 0.8483 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1396, allocations: 144.9 kB / 0.8485 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-05/0.1397, allocations: 272 kB / 0.8487 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.1398, allocations: 268.1 kB / 0.849 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.603e-05/0.1398, allocations: 264.1 kB / 0.8492 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.978e-05/0.1399, allocations: 276 kB / 0.8495 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.14, allocations: 455.9 kB / 0.8499 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1401, allocations: 160.8 kB / 0.8501 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.1401, allocations: 268 kB / 0.8503 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1402, allocations: 148.9 kB / 0.8505 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.1403, allocations: 276.3 kB / 0.8508 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.1403, allocations: 152.8 kB / 0.8509 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.1403, allocations: 119.2 kB / 0.851 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.1403, allocations: 0 / 0.851 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001638/0.1405, allocations: 4 kB / 0.851 GB, free: 14.87 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.0001269/0.1406, allocations: 214.4 kB / 0.8512 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.983e-05/0.1407, allocations: 8.031 kB / 0.8512 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1407, allocations: 0 / 0.8512 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1407, allocations: 4 kB / 0.8512 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.141, allocations: 0.7139 MB / 0.8519 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.1413, allocations: 213.5 kB / 0.8521 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.1413, allocations: 51.36 kB / 0.8522 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1413, allocations: 4 kB / 0.8522 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1414, allocations: 8.5 kB / 0.8522 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.1414, allocations: 4 kB / 0.8522 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.001978/0.1433, allocations: 0.565 MB / 0.8527 GB, free: 13.04 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: 5.146375068929046]