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.001586/0.001586, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001616/0.001616, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001971/0.001971, allocations: 67.89 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00266/1.139, allocations: 1.246 MB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002269/1.141, allocations: 1.335 MB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/1.141, allocations: 0 / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/1.141, allocations: 4.75 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000818/1.142, allocations: 209.8 kB / 1.275 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/1.142, allocations: 28.81 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/1.142, allocations: 18.84 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/1.142, allocations: 5.484 kB / 1.275 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/1.142, allocations: 9.719 kB / 1.275 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2564/1.399, allocations: 31 MB / 1.305 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/1.399, allocations: 0 / 1.305 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/1.399, allocations: 1.469 kB / 1.305 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/1.399, allocations: 4.781 kB / 1.305 GB, free: 7.676 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/1.399, allocations: 8.609 kB / 1.305 GB, free: 7.672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/1.399, allocations: 6.062 kB / 1.305 GB, free: 7.672 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.399, allocations: 0.7969 kB / 1.305 GB, free: 7.672 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.789e-06/1.399, allocations: 1.344 kB / 1.305 GB, free: 7.672 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.399, allocations: 0 / 1.305 GB, free: 7.672 MB / 1.014 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.0004242/1.399, allocations: 321.8 kB / 1.305 GB, free: 7.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.399, allocations: 12.34 kB / 1.305 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/1.4, allocations: 82.8 kB / 1.305 GB, free: 7.238 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/1.4, allocations: 245.1 kB / 1.306 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/1.4, allocations: 152.3 kB / 1.306 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/1.4, allocations: 155.6 kB / 1.306 GB, free: 6.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.4, allocations: 110.8 kB / 1.306 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/1.4, allocations: 79.27 kB / 1.306 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/1.4, allocations: 151.1 kB / 1.306 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-05/1.4, allocations: 151.9 kB / 1.306 GB, free: 6.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/1.4, allocations: 151.3 kB / 1.307 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/1.401, allocations: 454.6 kB / 1.307 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.401, allocations: 165.7 kB / 1.307 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/1.401, allocations: 82.36 kB / 1.307 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/1.401, allocations: 75.84 kB / 1.307 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.229e-05/1.401, allocations: 114.5 kB / 1.307 GB, free: 5.086 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.401, allocations: 0 / 1.307 GB, free: 5.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001049/1.401, allocations: 40.77 kB / 1.307 GB, free: 5.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.401, allocations: 205.8 kB / 1.308 GB, free: 4.812 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.401, allocations: 95.17 kB / 1.308 GB, free: 4.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/1.401, allocations: 25.7 kB / 1.308 GB, free: 4.684 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/1.401, allocations: 85.95 kB / 1.308 GB, free: 4.598 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/1.401, allocations: 0 / 1.308 GB, free: 4.598 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/1.401, allocations: 19.38 kB / 1.308 GB, free: 4.578 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.402, allocations: 312.1 kB / 1.308 GB, free: 4.266 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/1.402, allocations: 1.125 kB / 1.308 GB, free: 4.266 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/1.402, allocations: 18.47 kB / 1.308 GB, free: 4.242 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/1.402, allocations: 76.5 kB / 1.308 GB, free: 4.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/1.402, allocations: 79.8 kB / 1.308 GB, free: 4.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.964e-05/1.402, allocations: 40.92 kB / 1.308 GB, free: 4.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/1.402, allocations: 85.66 kB / 1.308 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/1.402, allocations: 81.38 kB / 1.309 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.1e-05/1.402, allocations: 154.7 kB / 1.309 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/1.402, allocations: 81.19 kB / 1.309 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-05/1.402, allocations: 152.6 kB / 1.309 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/1.402, allocations: 83.5 kB / 1.309 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/1.402, allocations: 84.56 kB / 1.309 GB, free: 3.352 MB / 1.014 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.000165/1.403, allocations: 265.6 kB / 1.309 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/1.403, allocations: 110.8 kB / 1.309 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/1.403, allocations: 106.7 kB / 1.31 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/1.403, allocations: 178.1 kB / 1.31 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/1.403, allocations: 190.2 kB / 1.31 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.226e-05/1.403, allocations: 178.2 kB / 1.31 GB, free: 2.312 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/1.403, allocations: 401.8 kB / 1.31 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/1.403, allocations: 102.9 kB / 1.311 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/1.403, allocations: 114.7 kB / 1.311 GB, free: 1.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.175e-05/1.404, allocations: 182 kB / 1.311 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/1.404, allocations: 182 kB / 1.311 GB, free: 1.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000102/1.404, allocations: 182 kB / 1.311 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.161e-05/1.404, allocations: 176.9 kB / 1.311 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/1.404, allocations: 307 kB / 1.312 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.404, allocations: 188.5 kB / 1.312 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.404, allocations: 183.2 kB / 1.312 GB, free: 212 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.404, allocations: 105.6 kB / 1.312 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.404, allocations: 182.2 kB / 1.312 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.405, allocations: 105.5 kB / 1.312 GB, free: 15.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.419e-05/1.405, allocations: 79.06 kB / 1.312 GB, free: 15.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/1.405, allocations: 5.406 kB / 1.312 GB, free: 15.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002961/1.405, allocations: 2.531 kB / 1.312 GB, free: 15.73 MB / 1.029 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.0001774/1.405, allocations: 173.2 kB / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.71e-05/1.405, allocations: 2.328 kB / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.405, allocations: 0 / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/1.405, allocations: 0 / 1.313 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/1.406, allocations: 473.1 kB / 1.313 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/1.406, allocations: 172.1 kB / 1.313 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.406, allocations: 0.6718 MB / 1.314 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.845e-05/1.406, allocations: 7.156 kB / 1.314 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/1.406, allocations: 8.594 kB / 1.314 GB, free: 14.22 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/1.406, allocations: 4 kB / 1.314 GB, free: 14.22 MB / 1.029 GB Notification: Performance of Templates: time 0.005035/1.411, allocations: 0.489 MB / 1.314 GB, free: 14.14 MB / 1.029 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.603361126035452]