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.001755/0.001755, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002411/0.002411, allocations: 213.7 kB / 23 MB, free: 4.969 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.84 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 176.1 MB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002666/0.3458, allocations: 1.268 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3481, allocations: 1.321 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.3482, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3482, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009128/0.3491, allocations: 215.3 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.3492, allocations: 35.08 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.3493, allocations: 15.92 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.3493, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.3493, allocations: 15.94 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2647/0.6141, allocations: 31.05 MB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.6141, allocations: 0 / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.6141, allocations: 4 kB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.6141, allocations: 3.984 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.6142, allocations: 4 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.6143, allocations: 11.92 kB / 1.36 GB, free: 1.688 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6143, allocations: 3.938 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6143, allocations: 0 / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.6143, allocations: 4 kB / 1.36 GB, free: 1.68 MB / 1.045 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.0003476/0.6147, allocations: 251.2 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.6147, allocations: 8.031 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.6148, allocations: 80.22 kB / 1.361 GB, free: 1.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.6149, allocations: 181.8 kB / 1.361 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.615, allocations: 150.9 kB / 1.361 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.6151, allocations: 154.9 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.6152, allocations: 105.1 kB / 1.361 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.6152, allocations: 75.28 kB / 1.361 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.6153, allocations: 158.5 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-05/0.6154, allocations: 150.6 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.6154, allocations: 162.5 kB / 1.362 GB, free: 172 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.6157, allocations: 397.6 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.6158, allocations: 169.1 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.6159, allocations: 84.14 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.6159, allocations: 75.28 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.407e-05/0.616, allocations: 117.8 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.616, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.006e-05/0.6161, allocations: 37.62 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.6162, allocations: 132.5 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.6163, allocations: 97.8 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.6163, allocations: 29.7 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.6164, allocations: 84.14 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.6164, allocations: 0 / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.6164, allocations: 17.7 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6166, allocations: 310.8 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-06/0.6166, allocations: 0 / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.6166, allocations: 99.69 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.6167, allocations: 83.22 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.151e-05/0.6167, allocations: 79.22 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.579e-05/0.6168, allocations: 33.69 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.6168, allocations: 79.28 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.6169, allocations: 83.22 kB / 1.364 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.639e-05/0.6169, allocations: 158.5 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.617, allocations: 75.28 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.203e-05/0.617, allocations: 154.5 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.6172, allocations: 83.28 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.6173, allocations: 79.27 kB / 1.364 GB, free: 13.5 MB / 1.061 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.000148/0.6174, allocations: 260.4 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.6175, allocations: 112.9 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.6176, allocations: 108.1 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.692e-05/0.6176, allocations: 188.2 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.988e-05/0.6177, allocations: 113 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.6178, allocations: 101 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.6178, allocations: 184.2 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.618, allocations: 101 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.6181, allocations: 188.2 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001082/0.6182, allocations: 255.5 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006857/0.6189, allocations: 383 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.939e-05/0.6189, allocations: 109 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.619, allocations: 79.28 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of Backend: time 6.71e-07/0.619, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.6193, allocations: 86.25 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of SimCode: time 0.0006094/0.6199, allocations: 0.9131 MB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of Templates: time 0.00468/0.6246, allocations: 385.3 kB / 1.368 GB, free: 9.816 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.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: 9.074522663002426]