Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001724, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.91 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002443/0.3201, allocations: 1.23 MB / 1.177 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3222, allocations: 1.249 MB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.3223, allocations: 4 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.3223, allocations: 0 / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007373/0.323, allocations: 211.3 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.3231, allocations: 35.52 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.3232, allocations: 11.98 kB / 1.179 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.3233, allocations: 4 kB / 1.179 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.3233, allocations: 15.92 kB / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.247/0.5703, allocations: 30.95 MB / 1.209 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5704, allocations: 0 / 1.209 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.5704, allocations: 4 kB / 1.209 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.5704, allocations: 3.984 kB / 1.209 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.5704, allocations: 4 kB / 1.209 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.5706, allocations: 7.984 kB / 1.209 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5706, allocations: 0 / 1.209 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5706, allocations: 0 / 1.209 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5706, allocations: 4 kB / 1.209 GB, free: 7.301 MB / 0.9512 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.0003828/0.571, allocations: 327.4 kB / 1.209 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.571, allocations: 8.031 kB / 1.209 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.5711, allocations: 80.2 kB / 1.209 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.5713, allocations: 239.7 kB / 1.209 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.5714, allocations: 154.9 kB / 1.21 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.5715, allocations: 150.9 kB / 1.21 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.5716, allocations: 113 kB / 1.21 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.5716, allocations: 75.28 kB / 1.21 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.5717, allocations: 150.6 kB / 1.21 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.5718, allocations: 154.6 kB / 1.21 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.5719, allocations: 150.6 kB / 1.21 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.5722, allocations: 449.9 kB / 1.211 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5724, allocations: 173 kB / 1.211 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.5724, allocations: 88.12 kB / 1.211 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.5725, allocations: 75.28 kB / 1.211 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.5725, allocations: 117.8 kB / 1.211 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5725, allocations: 0 / 1.211 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.652e-05/0.5726, allocations: 33.66 kB / 1.211 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.5728, allocations: 207.8 kB / 1.211 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.5729, allocations: 93.86 kB / 1.211 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5729, allocations: 25.7 kB / 1.212 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.573, allocations: 84.14 kB / 1.212 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.573, allocations: 0 / 1.212 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.573, allocations: 21.66 kB / 1.212 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5732, allocations: 314.8 kB / 1.212 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.5732, allocations: 0 / 1.212 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.5733, allocations: 22.58 kB / 1.212 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.5733, allocations: 75.28 kB / 1.212 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/0.5733, allocations: 79.28 kB / 1.212 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.734e-05/0.5734, allocations: 33.69 kB / 1.212 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/0.5735, allocations: 87.28 kB / 1.212 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.5735, allocations: 83.2 kB / 1.212 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.877e-05/0.5736, allocations: 150.6 kB / 1.212 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/0.5736, allocations: 75.28 kB / 1.212 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.497e-05/0.5737, allocations: 158.5 kB / 1.213 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.5739, allocations: 79.28 kB / 1.213 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.5739, allocations: 91.16 kB / 1.213 GB, free: 2.902 MB / 0.9512 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.0001546/0.5741, allocations: 260.4 kB / 1.213 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.5742, allocations: 108.9 kB / 1.213 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.5742, allocations: 108 kB / 1.213 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.728e-05/0.5743, allocations: 180.3 kB / 1.213 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.229e-05/0.5744, allocations: 184.3 kB / 1.214 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.925e-05/0.5745, allocations: 184.2 kB / 1.214 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.5748, allocations: 393.2 kB / 1.214 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.946e-05/0.5749, allocations: 120.9 kB / 1.214 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.5749, allocations: 104.9 kB / 1.214 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.564e-05/0.575, allocations: 180.3 kB / 1.215 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.5751, allocations: 180.2 kB / 1.215 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.599e-05/0.5752, allocations: 184.3 kB / 1.215 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-05/0.5753, allocations: 180.2 kB / 1.215 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.5755, allocations: 303.8 kB / 1.215 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5756, allocations: 190 kB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.5757, allocations: 184.2 kB / 1.216 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5758, allocations: 108.9 kB / 1.216 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.5759, allocations: 184.2 kB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.576, allocations: 101 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.576, allocations: 87.27 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.415e-06/0.5761, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002792/0.5763, allocations: 3.938 kB / 1.216 GB, free: 15.22 MB / 0.9669 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.0001466/0.5765, allocations: 174.5 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/0.5766, allocations: 4.469 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5766, allocations: 4 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5766, allocations: 0 / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.577, allocations: 459.6 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.5773, allocations: 198.4 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5776, allocations: 0.669 MB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.5776, allocations: 11.38 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.5777, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.003094/0.5808, allocations: 484 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.319324102019891]