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.0009294/0.0009294, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00105/0.00105, allocations: 185 kB / 24.09 MB, free: 412 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.8667/0.8667, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.646/1.646, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.915e-06/2.915e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.172e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00255/0.002582, allocations: 1.291 MB / 0.7888 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.004433, allocations: 1.369 MB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.004459, allocations: 0 / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.004481, allocations: 1.625 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007099/0.00519, allocations: 219.1 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.578e-05/0.005276, allocations: 35.92 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.005322, allocations: 17.16 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.005363, allocations: 0 / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.005403, allocations: 8 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1184/0.1238, allocations: 51.69 MB / 0.8409 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1238, allocations: 0 / 0.8409 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.1238, allocations: 0 / 0.8409 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1239, allocations: 3.984 kB / 0.8409 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.1239, allocations: 7.984 kB / 0.8409 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.66e-05/0.124, allocations: 15.94 kB / 0.8409 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.124, allocations: 0 / 0.8409 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.403e-06/0.124, allocations: 0 / 0.8409 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.124, allocations: 0 / 0.8409 GB, free: 9.859 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.0002205/0.1242, allocations: 348.7 kB / 0.8413 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1242, allocations: 12.03 kB / 0.8413 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1243, allocations: 120.1 kB / 0.8414 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.1244, allocations: 235.7 kB / 0.8416 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.1244, allocations: 242.7 kB / 0.8418 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1245, allocations: 238.8 kB / 0.8421 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.1245, allocations: 149.5 kB / 0.8422 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.1246, allocations: 123.4 kB / 0.8423 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.1246, allocations: 242.5 kB / 0.8426 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.1247, allocations: 238.4 kB / 0.8428 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.1247, allocations: 246.3 kB / 0.843 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1249, allocations: 0.5491 MB / 0.8436 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.125, allocations: 265.4 kB / 0.8438 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.125, allocations: 126.9 kB / 0.8439 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.125, allocations: 127.1 kB / 0.8441 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.1251, allocations: 168.6 kB / 0.8442 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.1251, allocations: 0 / 0.8442 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.98e-05/0.1251, allocations: 29.64 kB / 0.8442 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.1252, allocations: 255.7 kB / 0.8445 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.1253, allocations: 161.9 kB / 0.8446 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1253, allocations: 29.7 kB / 0.8447 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1253, allocations: 126.9 kB / 0.8448 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-07/0.1253, allocations: 0 / 0.8448 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.1253, allocations: 23.36 kB / 0.8448 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1254, allocations: 492.1 kB / 0.8453 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/0.1254, allocations: 0 / 0.8453 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.1255, allocations: 104.2 kB / 0.8454 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.1255, allocations: 119.2 kB / 0.8455 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.1255, allocations: 127.2 kB / 0.8456 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.417e-05/0.1256, allocations: 33.62 kB / 0.8456 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.1256, allocations: 131.2 kB / 0.8458 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.1256, allocations: 119.2 kB / 0.8459 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-05/0.1257, allocations: 242.4 kB / 0.8461 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.1257, allocations: 127.2 kB / 0.8462 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.55e-05/0.1258, allocations: 242.3 kB / 0.8465 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.1258, allocations: 131.1 kB / 0.8466 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1259, allocations: 119.2 kB / 0.8467 GB, free: 3.672 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.0001007/0.126, allocations: 398.9 kB / 0.8471 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.126, allocations: 156.8 kB / 0.8472 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.1261, allocations: 152 kB / 0.8474 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.1261, allocations: 264.1 kB / 0.8476 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/0.1262, allocations: 272 kB / 0.8479 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/0.1262, allocations: 272 kB / 0.8482 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1264, allocations: 476.5 kB / 0.8486 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/0.1264, allocations: 148.9 kB / 0.8487 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1264, allocations: 156.8 kB / 0.8489 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/0.1265, allocations: 264.1 kB / 0.8492 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.1266, allocations: 268.1 kB / 0.8494 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-05/0.1266, allocations: 268 kB / 0.8497 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.924e-05/0.1267, allocations: 272.1 kB / 0.8499 GB, free: 256 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1268, allocations: 455.8 kB / 0.8504 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1268, allocations: 152.8 kB / 0.8505 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.1269, allocations: 272 kB / 0.8508 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.127, allocations: 148.9 kB / 0.8509 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.127, allocations: 272.3 kB / 0.8512 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.1271, allocations: 148.9 kB / 0.8513 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.1271, allocations: 123.2 kB / 0.8514 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 0.8514 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001513/0.1273, allocations: 0 / 0.8514 GB, free: 14.65 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.0001094/0.1274, allocations: 226.4 kB / 0.8516 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.141e-05/0.1274, allocations: 12.03 kB / 0.8516 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1274, allocations: 0 / 0.8516 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.1274, allocations: 3.938 kB / 0.8517 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1277, allocations: 0.7023 MB / 0.8523 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.1279, allocations: 209.6 kB / 0.8525 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.1279, allocations: 59.34 kB / 0.8526 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.1279, allocations: 4 kB / 0.8526 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.128, allocations: 86.19 kB / 0.8527 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.128, allocations: 0 / 0.8527 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.001641/0.1296, allocations: 0.6062 MB / 0.8533 GB, free: 12.69 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.578496925998479]