Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006397/0.006398, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004044, allocations: 8.531 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3463, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001409/0.3477, allocations: 0.9627 MB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.3499, allocations: 1.247 MB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.35, allocations: 0 / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.35, allocations: 3.938 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.3506, allocations: 162.7 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.3507, allocations: 35.94 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.599e-05/0.3508, allocations: 12 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.3508, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.3509, allocations: 11.92 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4385/0.7894, allocations: 28.18 MB / 1.089 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.7895, allocations: 0 / 1.089 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.7895, allocations: 0 / 1.089 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.7895, allocations: 4 kB / 1.089 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.7896, allocations: 29.7 kB / 1.089 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.7896, allocations: 19.97 kB / 1.089 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.7897, allocations: 0 / 1.089 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7897, allocations: 3.938 kB / 1.089 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7897, allocations: 0 / 1.089 GB, free: 9.738 MB / 0.8419 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.0003203/0.79, allocations: 311.5 kB / 1.089 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7901, allocations: 8.031 kB / 1.089 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.7901, allocations: 80.2 kB / 1.089 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.7903, allocations: 247.6 kB / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.7904, allocations: 154.9 kB / 1.089 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.7905, allocations: 150.9 kB / 1.09 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.7906, allocations: 117 kB / 1.09 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.7906, allocations: 75.28 kB / 1.09 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.7907, allocations: 150.6 kB / 1.09 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.066e-05/0.7908, allocations: 154.6 kB / 1.09 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.816e-05/0.7909, allocations: 154.6 kB / 1.09 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.7912, allocations: 445.9 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.7914, allocations: 169.1 kB / 1.091 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.7914, allocations: 88.19 kB / 1.091 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.7914, allocations: 79.28 kB / 1.091 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.7915, allocations: 113.8 kB / 1.091 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.7915, allocations: 0 / 1.091 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.639e-05/0.7916, allocations: 33.64 kB / 1.091 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7917, allocations: 207.8 kB / 1.091 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.7919, allocations: 97.86 kB / 1.091 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.7919, allocations: 25.7 kB / 1.091 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.792, allocations: 84.14 kB / 1.091 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.792, allocations: 0 / 1.091 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.792, allocations: 13.66 kB / 1.091 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7921, allocations: 314.8 kB / 1.092 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.7921, allocations: 0 / 1.092 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.7922, allocations: 18.56 kB / 1.092 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.7922, allocations: 79.28 kB / 1.092 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.7923, allocations: 79.28 kB / 1.092 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.651e-05/0.7923, allocations: 37.64 kB / 1.092 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.7924, allocations: 79.28 kB / 1.092 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.7924, allocations: 79.22 kB / 1.092 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.424e-05/0.7925, allocations: 150.6 kB / 1.092 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.55e-05/0.7925, allocations: 79.28 kB / 1.092 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.92e-05/0.7926, allocations: 166.4 kB / 1.092 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.7928, allocations: 75.28 kB / 1.093 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.7928, allocations: 83.22 kB / 1.093 GB, free: 5.359 MB / 0.8419 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.0001304/0.7929, allocations: 261.9 kB / 1.093 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.793, allocations: 112.8 kB / 1.093 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.7931, allocations: 112 kB / 1.093 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.607e-05/0.7931, allocations: 180.3 kB / 1.093 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.7932, allocations: 180.3 kB / 1.093 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001672/0.7934, allocations: 184.2 kB / 1.094 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.7937, allocations: 401.2 kB / 1.094 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/0.7937, allocations: 109.2 kB / 1.094 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.7938, allocations: 108.9 kB / 1.094 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.708e-05/0.7938, allocations: 184.3 kB / 1.094 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.794, allocations: 188.2 kB / 1.095 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.811e-05/0.794, allocations: 176.3 kB / 1.095 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001163/0.7941, allocations: 180.2 kB / 1.095 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.7943, allocations: 307.8 kB / 1.095 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.7944, allocations: 186 kB / 1.095 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.7945, allocations: 180.3 kB / 1.096 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.7947, allocations: 112.9 kB / 1.096 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.7948, allocations: 180.3 kB / 1.096 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.7948, allocations: 105 kB / 1.096 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.7949, allocations: 79.52 kB / 1.096 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.623e-06/0.7949, allocations: 0 / 1.096 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002841/0.7952, allocations: 7.938 kB / 1.096 GB, free: 1.68 MB / 0.8419 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.0001477/0.7953, allocations: 174.5 kB / 1.096 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.351e-05/0.7954, allocations: 3.984 kB / 1.096 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7954, allocations: 0 / 1.096 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.7954, allocations: 4 kB / 1.096 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.7958, allocations: 0.5281 MB / 1.097 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.7961, allocations: 163.9 kB / 1.097 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7963, allocations: 0.6731 MB / 1.098 GB, free: 72 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.7964, allocations: 12.06 kB / 1.098 GB, free: 60 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.7964, allocations: 11.44 kB / 1.098 GB, free: 48 kB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.7964, allocations: 0 / 1.098 GB, free: 48 kB / 0.8419 GB Notification: Performance of Templates: time 0.002976/0.7994, allocations: 476.2 kB / 1.098 GB, free: 15.58 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches