Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001828/0.001828, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00262/0.00262, allocations: 188.4 kB / 22.23 MB, free: 5.133 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.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_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_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.91 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9567, allocations: 168.8 MB / 1.274 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002555/0.9593, allocations: 1.255 MB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.9615, allocations: 1.351 MB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.9615, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.9615, allocations: 4 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000705/0.9622, allocations: 219.2 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.9623, allocations: 31.89 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.9624, allocations: 12 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.9624, allocations: 0 / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.9625, allocations: 11.92 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2545/1.217, allocations: 31.07 MB / 1.307 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/1.217, allocations: 0 / 1.307 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/1.217, allocations: 8 kB / 1.307 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/1.217, allocations: 0 / 1.307 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/1.217, allocations: 11.97 kB / 1.307 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/1.217, allocations: 11.94 kB / 1.308 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.217, allocations: 0 / 1.308 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.604e-06/1.217, allocations: 0 / 1.308 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.217, allocations: 0 / 1.308 GB, free: 4.742 MB / 0.9981 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.0004169/1.218, allocations: 242.5 kB / 1.308 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.218, allocations: 8.031 kB / 1.308 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/1.218, allocations: 80.22 kB / 1.308 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.218, allocations: 189.7 kB / 1.308 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/1.218, allocations: 150.9 kB / 1.308 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/1.218, allocations: 150.9 kB / 1.308 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/1.218, allocations: 109.1 kB / 1.308 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.218, allocations: 83.22 kB / 1.308 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/1.218, allocations: 158.5 kB / 1.309 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/1.218, allocations: 154.6 kB / 1.309 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/1.218, allocations: 150.6 kB / 1.309 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/1.219, allocations: 417 kB / 1.309 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.219, allocations: 173.1 kB / 1.309 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/1.219, allocations: 84.12 kB / 1.31 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/1.219, allocations: 83.27 kB / 1.31 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.764e-05/1.219, allocations: 109.8 kB / 1.31 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.219, allocations: 4 kB / 1.31 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.46e-05/1.219, allocations: 25.7 kB / 1.31 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.219, allocations: 207.8 kB / 1.31 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.219, allocations: 97.86 kB / 1.31 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.219, allocations: 29.69 kB / 1.31 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/1.219, allocations: 84.14 kB / 1.31 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.219, allocations: 0 / 1.31 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/1.219, allocations: 17.72 kB / 1.31 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.22, allocations: 310.8 kB / 1.31 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/1.22, allocations: 3.938 kB / 1.31 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/1.22, allocations: 22.58 kB / 1.311 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/1.22, allocations: 79.27 kB / 1.311 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-05/1.22, allocations: 75.28 kB / 1.311 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.48e-05/1.22, allocations: 33.64 kB / 1.311 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/1.22, allocations: 83.22 kB / 1.311 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/1.22, allocations: 79.53 kB / 1.311 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.284e-05/1.22, allocations: 162.6 kB / 1.311 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/1.22, allocations: 79.28 kB / 1.311 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.679e-05/1.22, allocations: 154.5 kB / 1.311 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.22, allocations: 83.27 kB / 1.311 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/1.22, allocations: 83.2 kB / 1.311 GB, free: 0.543 MB / 0.9981 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.0001504/1.22, allocations: 264.4 kB / 1.312 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/1.221, allocations: 108.9 kB / 1.312 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/1.221, allocations: 112.1 kB / 1.312 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.572e-05/1.221, allocations: 180.2 kB / 1.312 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-05/1.221, allocations: 176.3 kB / 1.312 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.267e-05/1.221, allocations: 180.2 kB / 1.312 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.221, allocations: 380.3 kB / 1.313 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/1.221, allocations: 105 kB / 1.313 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/1.221, allocations: 108.9 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.568e-05/1.221, allocations: 180.3 kB / 1.313 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/1.221, allocations: 188.2 kB / 1.313 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.08e-05/1.221, allocations: 176.3 kB / 1.313 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.551e-05/1.221, allocations: 184.2 kB / 1.314 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/1.222, allocations: 307.8 kB / 1.314 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/1.222, allocations: 116.7 kB / 1.314 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.713e-05/1.222, allocations: 176.3 kB / 1.314 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.222, allocations: 112.9 kB / 1.314 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/1.222, allocations: 176.3 kB / 1.314 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/1.222, allocations: 109 kB / 1.315 GB, free: 13.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.274e-05/1.222, allocations: 79.28 kB / 1.315 GB, free: 13 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.222, allocations: 0 / 1.315 GB, free: 13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002603/1.222, allocations: 4 kB / 1.315 GB, free: 13 MB / 1.014 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.0001529/1.223, allocations: 178.5 kB / 1.315 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.506e-05/1.223, allocations: 0 / 1.315 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.223, allocations: 0 / 1.315 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/1.223, allocations: 4 kB / 1.315 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/1.223, allocations: 459.7 kB / 1.315 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/1.223, allocations: 164.8 kB / 1.315 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.224, allocations: 0.669 MB / 1.316 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006985/1.224, allocations: 7.938 kB / 1.316 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/1.224, allocations: 7.438 kB / 1.316 GB, free: 11.45 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.224, allocations: 0 / 1.316 GB, free: 11.45 MB / 1.014 GB Notification: Performance of Templates: time 0.004698/1.229, allocations: 0.4965 MB / 1.317 GB, free: 10.96 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.211080619134009]