Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001279/0.001279, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001422/0.001422, allocations: 177 kB / 23.49 MB, free: 1.055 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.032/2.032, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.24e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001871/0.001903, allocations: 1.298 MB / 0.8794 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003399, allocations: 1.373 MB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.003428, allocations: 0 / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.003449, allocations: 0 / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006823/0.004131, allocations: 217.3 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.597e-05/0.004197, allocations: 31.89 kB / 0.881 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.004267, allocations: 20.84 kB / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.004315, allocations: 0 / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.004352, allocations: 8 kB / 0.881 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1252/0.1295, allocations: 51.92 MB / 0.9317 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1296, allocations: 4 kB / 0.9317 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.1296, allocations: 0 / 0.9317 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1296, allocations: 4 kB / 0.9318 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.1296, allocations: 7.984 kB / 0.9318 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1297, allocations: 15.92 kB / 0.9318 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1298, allocations: 0 / 0.9318 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1298, allocations: 0 / 0.9318 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1298, allocations: 0 / 0.9318 GB, free: 3.855 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002572/0.13, allocations: 344.4 kB / 0.9321 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1301, allocations: 12.03 kB / 0.9321 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.1301, allocations: 120.1 kB / 0.9322 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1302, allocations: 231.8 kB / 0.9324 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.1303, allocations: 238.8 kB / 0.9327 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1303, allocations: 238.8 kB / 0.9329 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.328e-05/0.1304, allocations: 153.3 kB / 0.9331 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.1304, allocations: 131.4 kB / 0.9332 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.1305, allocations: 246.5 kB / 0.9334 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.1305, allocations: 238.4 kB / 0.9336 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.1306, allocations: 238.4 kB / 0.9339 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.1308, allocations: 0.5681 MB / 0.9344 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.1309, allocations: 269.4 kB / 0.9347 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.1309, allocations: 126.9 kB / 0.9348 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1309, allocations: 123.1 kB / 0.9349 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.131, allocations: 156.6 kB / 0.9351 GB, free: 356 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.131, allocations: 4 kB / 0.9351 GB, free: 352 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.041e-05/0.131, allocations: 37.69 kB / 0.9351 GB, free: 308 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.1311, allocations: 259.6 kB / 0.9354 GB, free: 16 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1312, allocations: 153.9 kB / 0.9355 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1312, allocations: 25.7 kB / 0.9355 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.1313, allocations: 134.9 kB / 0.9357 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.1313, allocations: 0 / 0.9357 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.1313, allocations: 23.36 kB / 0.9357 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.1314, allocations: 492.1 kB / 0.9361 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.1314, allocations: 0 / 0.9361 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.1315, allocations: 108.2 kB / 0.9362 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.1315, allocations: 119.2 kB / 0.9364 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.1315, allocations: 123.2 kB / 0.9365 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.864e-05/0.1316, allocations: 33.69 kB / 0.9365 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1316, allocations: 131.1 kB / 0.9366 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.1316, allocations: 119.2 kB / 0.9367 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.476e-05/0.1317, allocations: 238.4 kB / 0.937 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.1317, allocations: 135.2 kB / 0.9371 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-05/0.1318, allocations: 238.4 kB / 0.9373 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1319, allocations: 131.1 kB / 0.9375 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1319, allocations: 123.2 kB / 0.9376 GB, free: 13.64 MB / 0.9011 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.0001064/0.132, allocations: 395 kB / 0.938 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.1321, allocations: 148.9 kB / 0.9381 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1321, allocations: 156 kB / 0.9382 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.094e-05/0.1322, allocations: 268.1 kB / 0.9385 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.328e-05/0.1322, allocations: 275.9 kB / 0.9388 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.021e-05/0.1323, allocations: 268.1 kB / 0.939 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1324, allocations: 487.9 kB / 0.9395 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/0.1324, allocations: 160.8 kB / 0.9396 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1325, allocations: 144.9 kB / 0.9398 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.1325, allocations: 268 kB / 0.94 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.1326, allocations: 268.1 kB / 0.9403 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.062e-05/0.1326, allocations: 268.1 kB / 0.9405 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.213e-05/0.1327, allocations: 268 kB / 0.9408 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1329, allocations: 463.8 kB / 0.9412 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.1329, allocations: 144.9 kB / 0.9414 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.133, allocations: 268.1 kB / 0.9416 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.133, allocations: 156.8 kB / 0.9418 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.1331, allocations: 276.3 kB / 0.942 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.1331, allocations: 148.8 kB / 0.9422 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.1332, allocations: 123.2 kB / 0.9423 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1332, allocations: 0 / 0.9423 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001622/0.1333, allocations: 4 kB / 0.9423 GB, free: 8.594 MB / 0.9011 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.0001182/0.1335, allocations: 218.4 kB / 0.9425 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.07e-05/0.1335, allocations: 8.031 kB / 0.9425 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1335, allocations: 0 / 0.9425 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-07/0.1335, allocations: 0 / 0.9425 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1338, allocations: 0.71 MB / 0.9432 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.1341, allocations: 217.6 kB / 0.9434 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.1341, allocations: 51.36 kB / 0.9435 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.1341, allocations: 12.36 kB / 0.9435 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.1341, allocations: 8.5 kB / 0.9435 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.1341, allocations: 0 / 0.9435 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of Templates: time 0.002095/0.1362, allocations: 0.5603 MB / 0.944 GB, free: 6.762 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.460556110134348]