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.001004/0.001004, 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.0009868/0.0009868, allocations: 169 kB / 23.02 MB, free: 1.555 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.9248/0.9248, allocations: 177.1 MB / 203.4 MB, free: 5.609 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 1.981/1.981, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.587e-05, allocations: 6.938 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001735/0.001761, allocations: 1.295 MB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.003276, allocations: 1.388 MB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.003297, allocations: 0 / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.003319, allocations: 0 / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.004018, allocations: 218.7 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.636e-05/0.004084, allocations: 35.94 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.004137, allocations: 16.88 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.004172, allocations: 3.984 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.004203, allocations: 5.031 kB / 0.8811 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1232/0.1274, allocations: 51.68 MB / 0.9315 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1274, allocations: 0 / 0.9315 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.1274, allocations: 0 / 0.9315 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1274, allocations: 3.984 kB / 0.9315 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1274, allocations: 11.94 kB / 0.9315 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1276, allocations: 15.92 kB / 0.9316 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1276, allocations: 0 / 0.9316 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1276, allocations: 0 / 0.9316 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1276, allocations: 0 / 0.9316 GB, free: 3.762 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.0002423/0.1278, allocations: 344.4 kB / 0.9319 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1279, allocations: 12.03 kB / 0.9319 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.1279, allocations: 124.1 kB / 0.932 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.128, allocations: 231.8 kB / 0.9322 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.1281, allocations: 238.8 kB / 0.9325 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.1281, allocations: 242.8 kB / 0.9327 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.39e-05/0.1282, allocations: 145.5 kB / 0.9328 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.1282, allocations: 123.4 kB / 0.9329 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.1283, allocations: 242.5 kB / 0.9332 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.1283, allocations: 242.4 kB / 0.9334 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.1284, allocations: 246.3 kB / 0.9336 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.1286, allocations: 0.5642 MB / 0.9342 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.1287, allocations: 269.4 kB / 0.9345 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.1287, allocations: 126.9 kB / 0.9346 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1287, allocations: 119.2 kB / 0.9347 GB, free: 432 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.1288, allocations: 160.6 kB / 0.9348 GB, free: 260 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.1288, allocations: 4 kB / 0.9348 GB, free: 256 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 5.543e-05/0.1288, allocations: 33.64 kB / 0.9349 GB, free: 216 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.1289, allocations: 259.6 kB / 0.9351 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.129, allocations: 157.9 kB / 0.9353 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.129, allocations: 29.7 kB / 0.9353 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.1291, allocations: 126.9 kB / 0.9354 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1291, allocations: 0 / 0.9354 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.1291, allocations: 23.38 kB / 0.9354 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1292, allocations: 496.1 kB / 0.9359 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.1292, allocations: 0 / 0.9359 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.1293, allocations: 108.2 kB / 0.936 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.1293, allocations: 123.1 kB / 0.9361 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.1293, allocations: 123.2 kB / 0.9363 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.785e-05/0.1294, allocations: 29.64 kB / 0.9363 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.1294, allocations: 131.2 kB / 0.9364 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/0.1294, allocations: 119.2 kB / 0.9365 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.158e-05/0.1295, allocations: 246.3 kB / 0.9368 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.039e-05/0.1295, allocations: 131.2 kB / 0.9369 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.169e-05/0.1296, allocations: 238.4 kB / 0.9371 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.1297, allocations: 127.1 kB / 0.9372 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1297, allocations: 119.2 kB / 0.9373 GB, free: 13.55 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.0001066/0.1298, allocations: 402.9 kB / 0.9377 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1299, allocations: 152.8 kB / 0.9379 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.13, allocations: 152 kB / 0.938 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-05/0.1301, allocations: 268 kB / 0.9383 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.06e-05/0.1301, allocations: 268 kB / 0.9385 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.445e-05/0.1302, allocations: 272.1 kB / 0.9388 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1303, allocations: 499.8 kB / 0.9393 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/0.1303, allocations: 144.9 kB / 0.9394 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.1304, allocations: 152.8 kB / 0.9396 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.1306, allocations: 264.1 kB / 0.9398 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.1307, allocations: 272.1 kB / 0.9401 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.218e-05/0.1307, allocations: 272 kB / 0.9403 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.018e-05/0.1308, allocations: 264.1 kB / 0.9406 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1309, allocations: 455.9 kB / 0.941 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.131, allocations: 144.9 kB / 0.9411 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.131, allocations: 276 kB / 0.9414 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1311, allocations: 152.9 kB / 0.9416 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1312, allocations: 272.5 kB / 0.9418 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.1312, allocations: 144.9 kB / 0.942 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.1312, allocations: 127.2 kB / 0.9421 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1312, allocations: 4 kB / 0.9421 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000156/0.1314, allocations: 4 kB / 0.9421 GB, free: 8.5 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.0001161/0.1315, allocations: 214.4 kB / 0.9423 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.1316, allocations: 15.95 kB / 0.9423 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1316, allocations: 0 / 0.9423 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.1316, allocations: 0 / 0.9423 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1319, allocations: 0.7061 MB / 0.943 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.1321, allocations: 217.6 kB / 0.9432 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.1321, allocations: 59.34 kB / 0.9433 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.1321, allocations: 4 kB / 0.9433 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.1322, allocations: 8.5 kB / 0.9433 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of SimCode: time 7.82e-07/0.1322, allocations: 4 kB / 0.9433 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of Templates: time 0.002154/0.1343, allocations: 0.5574 MB / 0.9438 GB, free: 6.664 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.3041140884160995]