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.002031/0.002031, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001933/0.001933, allocations: 173 kB / 23.02 MB, free: 1.551 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.09/1.09, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.247/2.247, allocations: 429.5 MB / 0.6733 GB, free: 4.004 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 2.454e-06/2.454e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.921e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002926/0.002965, allocations: 1.299 MB / 0.8794 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.004994, allocations: 1.383 MB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.005021, allocations: 0.9375 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.005053, allocations: 0 / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009978/0.006051, allocations: 217.1 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.638e-05/0.006148, allocations: 31.89 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.006215, allocations: 17.09 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.006264, allocations: 8 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006374, allocations: 7.938 kB / 0.8811 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1259/0.1323, allocations: 51.69 MB / 0.9315 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.1323, allocations: 4 kB / 0.9315 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1323, allocations: 0 / 0.9315 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1323, allocations: 0 / 0.9315 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1324, allocations: 7.984 kB / 0.9315 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1325, allocations: 15.92 kB / 0.9316 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1325, allocations: 0 / 0.9316 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1325, allocations: 0 / 0.9316 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.1325, allocations: 0 / 0.9316 GB, free: 3.746 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.00032/0.1329, allocations: 348.4 kB / 0.9319 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1329, allocations: 12.03 kB / 0.9319 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.133, allocations: 120.1 kB / 0.932 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1331, allocations: 231.8 kB / 0.9322 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.1332, allocations: 238.8 kB / 0.9325 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.1332, allocations: 238.8 kB / 0.9327 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.267e-05/0.1333, allocations: 149.4 kB / 0.9328 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.1333, allocations: 127.3 kB / 0.933 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.1334, allocations: 242.5 kB / 0.9332 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/0.1335, allocations: 238.4 kB / 0.9334 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.1335, allocations: 242.4 kB / 0.9336 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.1338, allocations: 0.5719 MB / 0.9342 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.134, allocations: 265.4 kB / 0.9345 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.134, allocations: 130.9 kB / 0.9346 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.134, allocations: 119.2 kB / 0.9347 GB, free: 412 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.1341, allocations: 156.6 kB / 0.9348 GB, free: 244 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1341, allocations: 4 kB / 0.9348 GB, free: 240 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 7.101e-05/0.1342, allocations: 37.62 kB / 0.9349 GB, free: 196 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1343, allocations: 255.6 kB / 0.9351 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1344, allocations: 157.9 kB / 0.9353 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1344, allocations: 25.7 kB / 0.9353 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.1344, allocations: 134.9 kB / 0.9354 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.1344, allocations: 0 / 0.9354 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1345, allocations: 23.36 kB / 0.9355 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1346, allocations: 496.1 kB / 0.9359 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-06/0.1346, allocations: 0 / 0.9359 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.1347, allocations: 104.2 kB / 0.936 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.1347, allocations: 119.2 kB / 0.9361 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/0.1348, allocations: 119.2 kB / 0.9363 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.408e-05/0.1348, allocations: 37.62 kB / 0.9363 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.1349, allocations: 127.2 kB / 0.9364 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.1349, allocations: 119.2 kB / 0.9365 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.724e-05/0.135, allocations: 246.3 kB / 0.9368 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.135, allocations: 135.2 kB / 0.9369 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.399e-05/0.135, allocations: 238.4 kB / 0.9371 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1352, allocations: 127.1 kB / 0.9372 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.1352, allocations: 123.2 kB / 0.9374 GB, free: 13.54 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.0001217/0.1353, allocations: 395 kB / 0.9377 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.1354, allocations: 152.8 kB / 0.9379 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.1354, allocations: 152 kB / 0.938 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.1355, allocations: 268.1 kB / 0.9383 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-05/0.1355, allocations: 272 kB / 0.9385 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-05/0.1356, allocations: 272.1 kB / 0.9388 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1358, allocations: 499.8 kB / 0.9393 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/0.1358, allocations: 152.9 kB / 0.9394 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1358, allocations: 145.1 kB / 0.9396 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.136, allocations: 268 kB / 0.9398 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.1361, allocations: 268.1 kB / 0.9401 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-05/0.1362, allocations: 268 kB / 0.9403 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-05/0.1362, allocations: 272.1 kB / 0.9406 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1364, allocations: 455.9 kB / 0.941 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1364, allocations: 144.9 kB / 0.9412 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.1365, allocations: 280 kB / 0.9414 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1365, allocations: 148.9 kB / 0.9416 GB, free: 9.035 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.1366, allocations: 276.3 kB / 0.9418 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.1367, allocations: 144.9 kB / 0.942 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.1367, allocations: 123.2 kB / 0.9421 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0 / 0.9421 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001549/0.1368, allocations: 4 kB / 0.9421 GB, free: 8.484 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.0001429/0.137, allocations: 214.4 kB / 0.9423 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.1371, allocations: 12.03 kB / 0.9423 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1371, allocations: 4 kB / 0.9423 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.1371, allocations: 3.938 kB / 0.9423 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1374, allocations: 0.7023 MB / 0.943 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.1377, allocations: 221.6 kB / 0.9432 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.1377, allocations: 55.36 kB / 0.9433 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.1377, allocations: 0 / 0.9433 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1377, allocations: 8.5 kB / 0.9433 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of SimCode: time 5.61e-07/0.1377, allocations: 0 / 0.9433 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of Templates: time 0.002357/0.1401, allocations: 0.6066 MB / 0.9439 GB, free: 6.605 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.897518737241626]