Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.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.001788/0.001788, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002032, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437 MB / 0.7104 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6098, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002707/0.6125, allocations: 1.24 MB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.6147, allocations: 1.235 MB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.6147, allocations: 3.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.6147, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0008445/0.6156, allocations: 219.3 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.6157, allocations: 39.94 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.6158, allocations: 11.94 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.6158, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.6159, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2642/0.88, allocations: 30.64 MB / 1.05 GB, free: 4.461 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.8801, allocations: 0 / 1.05 GB, free: 4.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.8801, allocations: 0 / 1.05 GB, free: 4.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.8801, allocations: 7.984 kB / 1.05 GB, free: 4.453 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.8802, allocations: 0 / 1.05 GB, free: 4.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.8803, allocations: 15.98 kB / 1.05 GB, free: 4.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8803, allocations: 7.938 kB / 1.05 GB, free: 4.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8804, allocations: 0 / 1.05 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8804, allocations: 0 / 1.05 GB, free: 4.43 MB / 0.795 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.0004112/0.8808, allocations: 323.4 kB / 1.05 GB, free: 4.066 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8808, allocations: 8.031 kB / 1.05 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.8809, allocations: 76.22 kB / 1.05 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.8811, allocations: 247.7 kB / 1.051 GB, free: 3.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.8812, allocations: 154.9 kB / 1.051 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.8813, allocations: 150.9 kB / 1.051 GB, free: 3.402 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.8814, allocations: 113 kB / 1.051 GB, free: 3.285 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.8814, allocations: 75.28 kB / 1.051 GB, free: 3.211 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.8815, allocations: 150.6 kB / 1.051 GB, free: 3.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.8816, allocations: 150.6 kB / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.8816, allocations: 162.5 kB / 1.051 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.882, allocations: 445.9 kB / 1.052 GB, free: 2.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.8821, allocations: 165.1 kB / 1.052 GB, free: 2.098 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.8821, allocations: 80.14 kB / 1.052 GB, free: 2.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.8822, allocations: 83.28 kB / 1.052 GB, free: 1.934 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.8823, allocations: 113.8 kB / 1.052 GB, free: 1.812 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8823, allocations: 3.938 kB / 1.052 GB, free: 1.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.8824, allocations: 25.7 kB / 1.052 GB, free: 1.777 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8825, allocations: 207.8 kB / 1.053 GB, free: 1.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8826, allocations: 101.8 kB / 1.053 GB, free: 1.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.8826, allocations: 25.7 kB / 1.053 GB, free: 1.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.8827, allocations: 84.14 kB / 1.053 GB, free: 1.316 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.8827, allocations: 0 / 1.053 GB, free: 1.316 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.8827, allocations: 13.72 kB / 1.053 GB, free: 1.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8829, allocations: 318.8 kB / 1.053 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.8829, allocations: 0 / 1.053 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.8829, allocations: 18.58 kB / 1.053 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.883, allocations: 75.28 kB / 1.053 GB, free: 0.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/0.883, allocations: 79.28 kB / 1.053 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.13e-05/0.8831, allocations: 37.58 kB / 1.053 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.8831, allocations: 83.28 kB / 1.053 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.8832, allocations: 75.28 kB / 1.053 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.054e-05/0.8833, allocations: 158.5 kB / 1.054 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.291e-05/0.8833, allocations: 83.33 kB / 1.054 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.577e-05/0.8834, allocations: 158.5 kB / 1.054 GB, free: 208 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.8835, allocations: 87.33 kB / 1.054 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.8836, allocations: 75.28 kB / 1.054 GB, free: 44 kB / 0.795 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.0001689/0.8838, allocations: 260.4 kB / 1.054 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.8838, allocations: 120.8 kB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.8839, allocations: 108.1 kB / 1.054 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.976e-05/0.884, allocations: 184.2 kB / 1.055 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-05/0.8841, allocations: 176.3 kB / 1.055 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.681e-05/0.8842, allocations: 180.3 kB / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.8845, allocations: 405.2 kB / 1.055 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/0.8845, allocations: 101 kB / 1.055 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.8846, allocations: 120.8 kB / 1.056 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.541e-05/0.8847, allocations: 176.3 kB / 1.056 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.8847, allocations: 180.3 kB / 1.056 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/0.8848, allocations: 184.1 kB / 1.056 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.848e-05/0.8849, allocations: 180.3 kB / 1.056 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.8851, allocations: 311.8 kB / 1.057 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.8852, allocations: 186 kB / 1.057 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.8853, allocations: 188.2 kB / 1.057 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.8854, allocations: 105 kB / 1.057 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.8855, allocations: 184.2 kB / 1.057 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.8856, allocations: 105 kB / 1.057 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.8856, allocations: 75.52 kB / 1.057 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8856, allocations: 0 / 1.057 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002706/0.8859, allocations: 4 kB / 1.057 GB, free: 12.36 MB / 0.8106 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.0001587/0.8861, allocations: 182.5 kB / 1.058 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.111e-05/0.8861, allocations: 0 / 1.058 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8861, allocations: 0 / 1.058 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.8861, allocations: 7.938 kB / 1.058 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.8865, allocations: 455.7 kB / 1.058 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.8868, allocations: 168.8 kB / 1.058 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.8871, allocations: 0.673 MB / 1.059 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.8871, allocations: 11.98 kB / 1.059 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.8872, allocations: 7.438 kB / 1.059 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.8872, allocations: 3.938 kB / 1.059 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.004448/0.8916, allocations: 0.4973 MB / 1.059 GB, free: 10.3 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches