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.001045/0.001045, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001018/0.001018, allocations: 185.3 kB / 24.09 MB, free: 416 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.925/0.925, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.322e-06/1.322e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.405e-05, allocations: 6.25 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001529/0.001543, allocations: 1.294 MB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.002859, allocations: 1.369 MB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.002881, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002898, allocations: 3.938 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.003447, allocations: 216.3 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.41e-05/0.003501, allocations: 31.94 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.003542, allocations: 16.61 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.003572, allocations: 0.9062 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.003607, allocations: 15.94 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1167/0.1203, allocations: 51.69 MB / 0.8654 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1203, allocations: 0 / 0.8654 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.1204, allocations: 0 / 0.8654 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1204, allocations: 7.984 kB / 0.8654 GB, free: 15.32 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1204, allocations: 0 / 0.8654 GB, free: 15.32 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.1205, allocations: 15.92 kB / 0.8654 GB, free: 15.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1205, allocations: 4 kB / 0.8654 GB, free: 15.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1205, allocations: 3.938 kB / 0.8654 GB, free: 15.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1205, allocations: 0 / 0.8654 GB, free: 15.3 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.0002105/0.1207, allocations: 348.7 kB / 0.8657 GB, free: 14.92 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1207, allocations: 8.031 kB / 0.8657 GB, free: 14.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1208, allocations: 124.1 kB / 0.8658 GB, free: 14.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.1209, allocations: 223.8 kB / 0.8661 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.1209, allocations: 246.7 kB / 0.8663 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.121, allocations: 238.8 kB / 0.8665 GB, free: 14.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.218e-05/0.121, allocations: 149.5 kB / 0.8667 GB, free: 13.92 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.121, allocations: 127.4 kB / 0.8668 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.1211, allocations: 246.5 kB / 0.867 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.1211, allocations: 238.4 kB / 0.8672 GB, free: 13.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.1212, allocations: 242.3 kB / 0.8675 GB, free: 13.08 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.1214, allocations: 0.553 MB / 0.868 GB, free: 12.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.1214, allocations: 261.4 kB / 0.8683 GB, free: 12.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.1215, allocations: 126.9 kB / 0.8684 GB, free: 12.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1215, allocations: 123.2 kB / 0.8685 GB, free: 11.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.1215, allocations: 164.6 kB / 0.8687 GB, free: 11.81 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1215, allocations: 0 / 0.8687 GB, free: 11.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 4.61e-05/0.1216, allocations: 29.7 kB / 0.8687 GB, free: 11.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.1216, allocations: 255.7 kB / 0.8689 GB, free: 11.49 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.1217, allocations: 165.8 kB / 0.8691 GB, free: 11.31 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1217, allocations: 25.7 kB / 0.8691 GB, free: 11.28 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.1218, allocations: 126.9 kB / 0.8692 GB, free: 11.15 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-07/0.1218, allocations: 4 kB / 0.8692 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.1218, allocations: 23.36 kB / 0.8693 GB, free: 11.12 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.1219, allocations: 496.1 kB / 0.8697 GB, free: 10.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.1219, allocations: 0 / 0.8697 GB, free: 10.62 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.1219, allocations: 108.1 kB / 0.8698 GB, free: 10.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.1219, allocations: 119.2 kB / 0.87 GB, free: 10.37 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/0.122, allocations: 119.2 kB / 0.8701 GB, free: 10.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.019e-05/0.122, allocations: 33.7 kB / 0.8701 GB, free: 10.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.122, allocations: 127.2 kB / 0.8702 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.1221, allocations: 123.2 kB / 0.8703 GB, free: 9.965 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.247e-05/0.1221, allocations: 242.3 kB / 0.8706 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.503e-05/0.1221, allocations: 123.3 kB / 0.8707 GB, free: 9.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.586e-05/0.1222, allocations: 250.2 kB / 0.8709 GB, free: 9.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.1223, allocations: 131.2 kB / 0.871 GB, free: 9.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1223, allocations: 119.2 kB / 0.8712 GB, free: 9.113 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.0001165/0.1224, allocations: 406.9 kB / 0.8715 GB, free: 8.703 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1225, allocations: 152.9 kB / 0.8717 GB, free: 8.547 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.1225, allocations: 148 kB / 0.8718 GB, free: 8.398 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/0.1226, allocations: 268 kB / 0.8721 GB, free: 8.129 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-05/0.1226, allocations: 268.1 kB / 0.8723 GB, free: 7.859 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.235e-05/0.1227, allocations: 279.9 kB / 0.8726 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1229, allocations: 476.5 kB / 0.8731 GB, free: 7.078 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/0.1229, allocations: 144.9 kB / 0.8732 GB, free: 6.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.1229, allocations: 148.8 kB / 0.8733 GB, free: 6.777 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-05/0.123, allocations: 272.1 kB / 0.8736 GB, free: 6.504 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.123, allocations: 272 kB / 0.8739 GB, free: 6.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.673e-05/0.1231, allocations: 264.1 kB / 0.8741 GB, free: 5.965 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.013e-05/0.1231, allocations: 280.1 kB / 0.8744 GB, free: 5.684 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1234, allocations: 447.9 kB / 0.8748 GB, free: 5.219 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1234, allocations: 156.8 kB / 0.875 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.1235, allocations: 264.1 kB / 0.8752 GB, free: 4.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.1235, allocations: 148.9 kB / 0.8754 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.1236, allocations: 276.3 kB / 0.8756 GB, free: 4.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.1236, allocations: 148.9 kB / 0.8758 GB, free: 4.211 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.1236, allocations: 123.2 kB / 0.8759 GB, free: 4.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1236, allocations: 0 / 0.8759 GB, free: 4.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001474/0.1238, allocations: 4 kB / 0.8759 GB, free: 4.086 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.0001041/0.1239, allocations: 222.4 kB / 0.8761 GB, free: 3.859 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.595e-05/0.1239, allocations: 7.969 kB / 0.8761 GB, free: 3.852 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1239, allocations: 0 / 0.8761 GB, free: 3.852 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1239, allocations: 4 kB / 0.8761 GB, free: 3.848 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1242, allocations: 0.7101 MB / 0.8768 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.1244, allocations: 209.7 kB / 0.877 GB, free: 2.898 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.1244, allocations: 51.36 kB / 0.8771 GB, free: 2.828 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.1244, allocations: 11.98 kB / 0.8771 GB, free: 2.816 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.1245, allocations: 82.19 kB / 0.8771 GB, free: 2.734 MB / 0.823 GB Notification: Performance of SimCode: time 5.11e-07/0.1245, allocations: 0 / 0.8771 GB, free: 2.734 MB / 0.823 GB Notification: Performance of Templates: time 0.001726/0.1262, allocations: 0.6058 MB / 0.8777 GB, free: 2.133 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.946165699977428]