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.0009822/0.0009822, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001197/0.001197, allocations: 173 kB / 24.28 MB, free: 276 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.9076/0.9076, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.72/1.72, allocations: 359 MB / 0.6055 GB, free: 10.99 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.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.361e-05, allocations: 5.531 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002438/0.002461, allocations: 1.29 MB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.004467, allocations: 1.365 MB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.004497, allocations: 0 / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.004518, allocations: 4 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008029/0.005321, allocations: 220.1 kB / 0.7899 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.345e-05/0.005414, allocations: 33.52 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.005473, allocations: 12 kB / 0.7899 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.005512, allocations: 0 / 0.7899 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.005556, allocations: 15.91 kB / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.131/0.1365, allocations: 51.92 MB / 0.8407 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1366, allocations: 3.938 kB / 0.8407 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.1366, allocations: 0 / 0.8407 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1366, allocations: 3.984 kB / 0.8407 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1366, allocations: 4 kB / 0.8407 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1367, allocations: 19.92 kB / 0.8407 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1367, allocations: 4 kB / 0.8407 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1367, allocations: 0 / 0.8407 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.1368, allocations: 0 / 0.8407 GB, free: 10.23 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.0002839/0.137, allocations: 348.7 kB / 0.841 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1371, allocations: 8.031 kB / 0.841 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.1372, allocations: 120.1 kB / 0.8411 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1373, allocations: 231.8 kB / 0.8414 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.1373, allocations: 238.8 kB / 0.8416 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.1374, allocations: 242.8 kB / 0.8418 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.1374, allocations: 153.3 kB / 0.842 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.1375, allocations: 123.4 kB / 0.8421 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.1375, allocations: 246.5 kB / 0.8423 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/0.1376, allocations: 238.4 kB / 0.8425 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.1376, allocations: 242.4 kB / 0.8428 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.1378, allocations: 0.5642 MB / 0.8433 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.1379, allocations: 273.4 kB / 0.8436 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.1379, allocations: 126.9 kB / 0.8437 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.138, allocations: 119.2 kB / 0.8438 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.138, allocations: 156.6 kB / 0.844 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.138, allocations: 0 / 0.844 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.748e-05/0.1381, allocations: 33.75 kB / 0.844 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.1382, allocations: 255.6 kB / 0.8443 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.1382, allocations: 161.9 kB / 0.8444 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1383, allocations: 25.7 kB / 0.8444 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1383, allocations: 126.9 kB / 0.8446 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1383, allocations: 3.938 kB / 0.8446 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1383, allocations: 23.38 kB / 0.8446 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1385, allocations: 492.1 kB / 0.845 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.1385, allocations: 4 kB / 0.845 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.1385, allocations: 104.2 kB / 0.8451 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.1386, allocations: 123.2 kB / 0.8453 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.1386, allocations: 123.2 kB / 0.8454 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.343e-05/0.1386, allocations: 29.7 kB / 0.8454 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.1387, allocations: 123.2 kB / 0.8455 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.1387, allocations: 127.1 kB / 0.8457 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.695e-05/0.1387, allocations: 242.4 kB / 0.8459 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.711e-05/0.1388, allocations: 131.2 kB / 0.846 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.206e-05/0.1388, allocations: 242.4 kB / 0.8462 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1389, allocations: 123.2 kB / 0.8464 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.139, allocations: 123.1 kB / 0.8465 GB, free: 4.035 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.0001077/0.1391, allocations: 399 kB / 0.8469 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.1391, allocations: 152.9 kB / 0.847 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1392, allocations: 156.2 kB / 0.8471 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-05/0.1392, allocations: 268.1 kB / 0.8474 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-05/0.1393, allocations: 272 kB / 0.8477 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/0.1393, allocations: 275.9 kB / 0.8479 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1395, allocations: 499.9 kB / 0.8484 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.1395, allocations: 148.8 kB / 0.8485 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.1396, allocations: 144.9 kB / 0.8487 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.126e-05/0.1396, allocations: 268.1 kB / 0.8489 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.1397, allocations: 272 kB / 0.8492 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-05/0.1397, allocations: 272.1 kB / 0.8495 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.786e-05/0.1398, allocations: 272 kB / 0.8497 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1399, allocations: 447.9 kB / 0.8501 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.14, allocations: 160.8 kB / 0.8503 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.14, allocations: 264.1 kB / 0.8505 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1401, allocations: 152.8 kB / 0.8507 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1402, allocations: 268.3 kB / 0.851 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.1402, allocations: 148.8 kB / 0.8511 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1402, allocations: 127.2 kB / 0.8512 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.1402, allocations: 0 / 0.8512 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001569/0.1404, allocations: 8 kB / 0.8512 GB, free: 14.97 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.0001151/0.1405, allocations: 218.4 kB / 0.8514 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.211e-05/0.1406, allocations: 4.031 kB / 0.8514 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1406, allocations: 0 / 0.8514 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.1406, allocations: 4 kB / 0.8514 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1409, allocations: 0.7023 MB / 0.8521 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.1411, allocations: 225.5 kB / 0.8523 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.1411, allocations: 51.36 kB / 0.8524 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.1411, allocations: 8 kB / 0.8524 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.1412, allocations: 8.5 kB / 0.8524 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.1412, allocations: 0 / 0.8524 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.001824/0.143, allocations: 0.5608 MB / 0.853 GB, free: 13.14 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.896095445845276]