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.001569/0.001569, allocations: 115.8 kB / 17.13 MB, free: 5.926 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.001837/0.001837, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.884/2.884, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.002059/0.002059, allocations: 76.17 kB / 1.15 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9717/0.9737, allocations: 176.1 MB / 1.322 GB, free: 7.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0025/0.9762, allocations: 1.259 MB / 1.323 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.9784, allocations: 1.265 MB / 1.324 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.9784, allocations: 0 / 1.324 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.9784, allocations: 0 / 1.324 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.9791, allocations: 208.4 kB / 1.325 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.9793, allocations: 40.88 kB / 1.325 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.9793, allocations: 16.59 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.9794, allocations: 1.5 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.9794, allocations: 13.05 kB / 1.325 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2543/1.234, allocations: 31 MB / 1.355 GB, free: 4.605 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/1.234, allocations: 1.531 kB / 1.355 GB, free: 4.605 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/1.234, allocations: 0 / 1.355 GB, free: 4.605 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/1.234, allocations: 1.219 kB / 1.355 GB, free: 4.605 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/1.234, allocations: 6.5 kB / 1.355 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/1.234, allocations: 17.09 kB / 1.355 GB, free: 4.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.234, allocations: 0 / 1.355 GB, free: 4.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/1.234, allocations: 4 kB / 1.355 GB, free: 4.586 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.234, allocations: 0 / 1.355 GB, free: 4.586 MB / 1.029 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.0003225/1.234, allocations: 323 kB / 1.355 GB, free: 4.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.234, allocations: 13.2 kB / 1.355 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/1.234, allocations: 81.56 kB / 1.355 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/1.234, allocations: 241.1 kB / 1.356 GB, free: 3.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/1.235, allocations: 150.9 kB / 1.356 GB, free: 3.727 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/1.235, allocations: 156.5 kB / 1.356 GB, free: 3.574 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.031e-05/1.235, allocations: 105.1 kB / 1.356 GB, free: 3.465 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/1.235, allocations: 80.75 kB / 1.356 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/1.235, allocations: 154.5 kB / 1.356 GB, free: 3.234 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/1.235, allocations: 150.6 kB / 1.356 GB, free: 3.086 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/1.235, allocations: 156.1 kB / 1.357 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/1.235, allocations: 447.3 kB / 1.357 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.235, allocations: 166.7 kB / 1.357 GB, free: 2.277 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/1.235, allocations: 84.08 kB / 1.357 GB, free: 2.191 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/1.235, allocations: 79.28 kB / 1.357 GB, free: 2.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/1.235, allocations: 115.2 kB / 1.357 GB, free: 1.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/1.235, allocations: 0 / 1.357 GB, free: 1.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.232e-05/1.236, allocations: 33.16 kB / 1.357 GB, free: 1.957 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.236, allocations: 207.7 kB / 1.358 GB, free: 1.723 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.236, allocations: 97.77 kB / 1.358 GB, free: 1.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/1.236, allocations: 25.7 kB / 1.358 GB, free: 1.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/1.236, allocations: 82.36 kB / 1.358 GB, free: 1.508 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/1.236, allocations: 4 kB / 1.358 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/1.236, allocations: 17.02 kB / 1.358 GB, free: 1.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.236, allocations: 315.7 kB / 1.358 GB, free: 1.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-06/1.236, allocations: 0 / 1.358 GB, free: 1.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/1.236, allocations: 21.77 kB / 1.358 GB, free: 1.141 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/1.236, allocations: 76.44 kB / 1.358 GB, free: 1.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/1.236, allocations: 75.28 kB / 1.358 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.659e-05/1.236, allocations: 44.8 kB / 1.358 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.236, allocations: 80.69 kB / 1.358 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/1.236, allocations: 80.72 kB / 1.358 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-05/1.236, allocations: 156 kB / 1.359 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.984e-05/1.236, allocations: 75.33 kB / 1.359 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.874e-05/1.236, allocations: 163.9 kB / 1.359 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/1.237, allocations: 86.05 kB / 1.359 GB, free: 332 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/1.237, allocations: 84.61 kB / 1.359 GB, free: 248 kB / 1.029 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.0001653/1.237, allocations: 259 kB / 1.359 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/1.237, allocations: 106.1 kB / 1.359 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/1.237, allocations: 109.5 kB / 1.359 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-05/1.237, allocations: 189.3 kB / 1.36 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/1.237, allocations: 177.5 kB / 1.36 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.649e-05/1.237, allocations: 185.4 kB / 1.36 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/1.237, allocations: 403.7 kB / 1.36 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/1.237, allocations: 101 kB / 1.36 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/1.237, allocations: 110.1 kB / 1.361 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/1.238, allocations: 181.6 kB / 1.361 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/1.238, allocations: 181.4 kB / 1.361 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/1.238, allocations: 181.4 kB / 1.361 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-05/1.238, allocations: 181.7 kB / 1.361 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/1.238, allocations: 307.8 kB / 1.362 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/1.238, allocations: 191.5 kB / 1.362 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/1.238, allocations: 181.7 kB / 1.362 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.238, allocations: 107.2 kB / 1.362 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/1.238, allocations: 185.5 kB / 1.362 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/1.238, allocations: 106.4 kB / 1.362 GB, free: 12.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.572e-05/1.238, allocations: 80.53 kB / 1.362 GB, free: 12.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.238, allocations: 1.062 kB / 1.362 GB, free: 12.6 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002724/1.239, allocations: 3.625 kB / 1.362 GB, free: 12.6 MB / 1.045 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.0001857/1.239, allocations: 175.1 kB / 1.363 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.343e-05/1.239, allocations: 5.688 kB / 1.363 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.239, allocations: 0 / 1.363 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/1.239, allocations: 1.438 kB / 1.363 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/1.239, allocations: 464.7 kB / 1.363 GB, free: 11.97 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/1.24, allocations: 189.7 kB / 1.363 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.24, allocations: 0.6703 MB / 1.364 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/1.24, allocations: 8.875 kB / 1.364 GB, free: 11.06 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/1.24, allocations: 0 / 1.364 GB, free: 11.06 MB / 1.045 GB Notification: Performance of Templates: time 0.00403/1.244, allocations: 476.3 kB / 1.364 GB, free: 10.83 MB / 1.045 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: 11.605736394994892]