Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001383/0.001383, allocations: 87.59 kB / 20.45 MB, free: 4.117 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.00164/0.00164, allocations: 169.3 kB / 23.82 MB, free: 0.7461 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.9104/0.9104, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.936e-05, allocations: 7.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001767/0.001797, allocations: 1.295 MB / 0.8128 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003173, allocations: 1.376 MB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.003199, allocations: 1.406 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.003227, allocations: 0 / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007792/0.004006, allocations: 219.1 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.336e-05/0.00408, allocations: 37.16 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.004127, allocations: 11.94 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.004166, allocations: 4.672 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.004197, allocations: 8 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1224/0.1266, allocations: 51.69 MB / 0.8649 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1266, allocations: 0 / 0.8649 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.1266, allocations: 0 / 0.8649 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1267, allocations: 0 / 0.8649 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.1267, allocations: 7.984 kB / 0.8649 GB, free: 15.63 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1268, allocations: 19.8 kB / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1268, allocations: 0 / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1268, allocations: 0 / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1268, allocations: 0 / 0.8649 GB, free: 15.61 MB / 0.823 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.0002382/0.127, allocations: 348.7 kB / 0.8653 GB, free: 15.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1271, allocations: 16.03 kB / 0.8653 GB, free: 15.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.1271, allocations: 120.1 kB / 0.8654 GB, free: 15.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1273, allocations: 231.8 kB / 0.8656 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.1273, allocations: 238.8 kB / 0.8658 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.1273, allocations: 238.8 kB / 0.8661 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.803e-05/0.1274, allocations: 149.5 kB / 0.8662 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.1274, allocations: 119.4 kB / 0.8663 GB, free: 14.11 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.1275, allocations: 246.4 kB / 0.8665 GB, free: 13.87 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.1275, allocations: 238.4 kB / 0.8668 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.1276, allocations: 238.4 kB / 0.867 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.1278, allocations: 0.572 MB / 0.8676 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.1279, allocations: 269.4 kB / 0.8678 GB, free: 12.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.1279, allocations: 126.9 kB / 0.8679 GB, free: 12.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1279, allocations: 123.1 kB / 0.8681 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.128, allocations: 160.6 kB / 0.8682 GB, free: 12.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.128, allocations: 0 / 0.8682 GB, free: 12.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.962e-05/0.128, allocations: 29.7 kB / 0.8682 GB, free: 12.06 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.1281, allocations: 251.6 kB / 0.8685 GB, free: 11.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.1282, allocations: 157.9 kB / 0.8686 GB, free: 11.61 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1282, allocations: 29.7 kB / 0.8687 GB, free: 11.58 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1283, allocations: 130.9 kB / 0.8688 GB, free: 11.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.1283, allocations: 4 kB / 0.8688 GB, free: 11.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.1283, allocations: 19.38 kB / 0.8688 GB, free: 11.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1284, allocations: 496.1 kB / 0.8693 GB, free: 10.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.1284, allocations: 0 / 0.8693 GB, free: 10.92 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.1285, allocations: 112.3 kB / 0.8694 GB, free: 10.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.1285, allocations: 119.2 kB / 0.8695 GB, free: 10.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/0.1285, allocations: 123.2 kB / 0.8696 GB, free: 10.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.665e-05/0.1286, allocations: 25.7 kB / 0.8696 GB, free: 10.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.1287, allocations: 131.1 kB / 0.8698 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.1287, allocations: 127.1 kB / 0.8699 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.548e-05/0.1287, allocations: 242.4 kB / 0.8701 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.988e-05/0.1288, allocations: 135.2 kB / 0.8702 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.842e-05/0.1288, allocations: 242.3 kB / 0.8705 GB, free: 9.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.129, allocations: 131.2 kB / 0.8706 GB, free: 9.516 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.129, allocations: 123.1 kB / 0.8707 GB, free: 9.395 MB / 0.823 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.0001029/0.1291, allocations: 398.9 kB / 0.8711 GB, free: 8.992 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1292, allocations: 144.9 kB / 0.8712 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1292, allocations: 152 kB / 0.8714 GB, free: 8.691 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/0.1293, allocations: 272 kB / 0.8716 GB, free: 8.418 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.914e-05/0.1293, allocations: 268 kB / 0.8719 GB, free: 8.148 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/0.1294, allocations: 276 kB / 0.8722 GB, free: 7.871 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1296, allocations: 495.9 kB / 0.8726 GB, free: 7.344 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.1297, allocations: 148.9 kB / 0.8728 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.1297, allocations: 148.8 kB / 0.8729 GB, free: 7.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-05/0.1297, allocations: 268.1 kB / 0.8732 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.1298, allocations: 272 kB / 0.8734 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-05/0.1298, allocations: 264.1 kB / 0.8737 GB, free: 6.23 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.046e-05/0.1299, allocations: 272 kB / 0.8739 GB, free: 5.957 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.13, allocations: 452 kB / 0.8744 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.13, allocations: 152.8 kB / 0.8745 GB, free: 5.332 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.1301, allocations: 268.1 kB / 0.8748 GB, free: 5.062 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1302, allocations: 152.8 kB / 0.8749 GB, free: 4.906 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.1302, allocations: 280.3 kB / 0.8752 GB, free: 4.625 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1303, allocations: 144.9 kB / 0.8753 GB, free: 4.477 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.1303, allocations: 123.2 kB / 0.8754 GB, free: 4.355 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1303, allocations: 0 / 0.8754 GB, free: 4.355 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001558/0.1305, allocations: 4 kB / 0.8755 GB, free: 4.352 MB / 0.823 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.0001121/0.1306, allocations: 218.4 kB / 0.8757 GB, free: 4.129 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.938e-05/0.1306, allocations: 8.016 kB / 0.8757 GB, free: 4.121 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1306, allocations: 0 / 0.8757 GB, free: 4.121 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.1306, allocations: 0 / 0.8757 GB, free: 4.121 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.1312, allocations: 0.7101 MB / 0.8764 GB, free: 3.406 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.1314, allocations: 221.6 kB / 0.8766 GB, free: 3.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.1314, allocations: 55.34 kB / 0.8766 GB, free: 3.086 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.1315, allocations: 3.938 kB / 0.8766 GB, free: 3.082 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1315, allocations: 12.5 kB / 0.8766 GB, free: 3.07 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.1315, allocations: 3.938 kB / 0.8766 GB, free: 3.066 MB / 0.823 GB Notification: Performance of Templates: time 0.002052/0.1335, allocations: 0.59 MB / 0.8772 GB, free: 2.477 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.8607927318662405]