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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001173/0.001173, allocations: 104 kB / 16.36 MB, free: 6.41 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.001132/0.001132, allocations: 194.9 kB / 17.31 MB, free: 5.805 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.45 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3493, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002593/0.3519, allocations: 1.213 MB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3539, allocations: 1.262 MB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.354, allocations: 0 / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.354, allocations: 0 / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.3547, allocations: 219.2 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.3548, allocations: 31.2 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.3549, allocations: 23.86 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3549, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.355, allocations: 11.98 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.183/0.5379, allocations: 30.89 MB / 1.052 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.538, allocations: 0 / 1.052 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.538, allocations: 0 / 1.052 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.538, allocations: 3.984 kB / 1.052 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.538, allocations: 7.938 kB / 1.052 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.5382, allocations: 15.98 kB / 1.052 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5382, allocations: 0 / 1.052 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5382, allocations: 0 / 1.052 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.5382, allocations: 0 / 1.052 GB, free: 10.67 MB / 0.8262 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.0002914/0.5385, allocations: 327.5 kB / 1.052 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5386, allocations: 12.62 kB / 1.052 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.5386, allocations: 76.22 kB / 1.052 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5388, allocations: 239.6 kB / 1.052 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.5388, allocations: 150.9 kB / 1.052 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.5389, allocations: 154.9 kB / 1.053 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.284e-05/0.5389, allocations: 113 kB / 1.053 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.539, allocations: 79.27 kB / 1.053 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.539, allocations: 150.6 kB / 1.053 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.5391, allocations: 150.6 kB / 1.053 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.5391, allocations: 150.6 kB / 1.053 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.5394, allocations: 450 kB / 1.054 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.5395, allocations: 169.1 kB / 1.054 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.5395, allocations: 84.19 kB / 1.054 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.5395, allocations: 79.28 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.5396, allocations: 121.8 kB / 1.054 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.5396, allocations: 0 / 1.054 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.587e-05/0.5397, allocations: 29.7 kB / 1.054 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.5398, allocations: 207.7 kB / 1.054 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.5399, allocations: 101.8 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5399, allocations: 25.7 kB / 1.054 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.54, allocations: 88.12 kB / 1.055 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.54, allocations: 0 / 1.055 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.54, allocations: 13.72 kB / 1.055 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.5401, allocations: 318.8 kB / 1.055 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.5401, allocations: 3.938 kB / 1.055 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.5402, allocations: 18.58 kB / 1.055 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.5402, allocations: 79.27 kB / 1.055 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/0.5402, allocations: 75.28 kB / 1.055 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.542e-05/0.5403, allocations: 37.55 kB / 1.055 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5403, allocations: 83.28 kB / 1.055 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.5404, allocations: 83.22 kB / 1.055 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-05/0.5404, allocations: 154.6 kB / 1.055 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.5405, allocations: 83.22 kB / 1.055 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-05/0.5405, allocations: 150.6 kB / 1.056 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.5407, allocations: 83.27 kB / 1.056 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5407, allocations: 83.22 kB / 1.056 GB, free: 6.266 MB / 0.8262 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.0001058/0.5408, allocations: 260.4 kB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.5409, allocations: 104.9 kB / 1.056 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.5409, allocations: 116 kB / 1.056 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.541, allocations: 180.2 kB / 1.056 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.325e-05/0.5411, allocations: 184.4 kB / 1.057 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.5411, allocations: 176.3 kB / 1.057 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.5413, allocations: 405.2 kB / 1.057 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.5414, allocations: 112.9 kB / 1.057 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.5414, allocations: 104.9 kB / 1.057 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-05/0.5415, allocations: 184.2 kB / 1.057 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.5415, allocations: 184.2 kB / 1.058 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.822e-05/0.5416, allocations: 180.2 kB / 1.058 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.272e-05/0.5416, allocations: 184.2 kB / 1.058 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.5417, allocations: 303.8 kB / 1.058 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.5418, allocations: 190 kB / 1.058 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.5419, allocations: 180.3 kB / 1.059 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.542, allocations: 108.9 kB / 1.059 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.5421, allocations: 180.2 kB / 1.059 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.5421, allocations: 112.9 kB / 1.059 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.5422, allocations: 75.28 kB / 1.059 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5422, allocations: 4 kB / 1.059 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002528/0.5424, allocations: 8 kB / 1.059 GB, free: 2.578 MB / 0.8262 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.0001263/0.5426, allocations: 174.5 kB / 1.059 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.688e-05/0.5426, allocations: 0 / 1.059 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5426, allocations: 0 / 1.059 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.5426, allocations: 0 / 1.059 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.543, allocations: 463.7 kB / 1.06 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.5432, allocations: 168.8 kB / 1.06 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.5435, allocations: 0.669 MB / 1.061 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.5435, allocations: 7.938 kB / 1.061 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-06/0.5435, allocations: 7.438 kB / 1.061 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.5435, allocations: 0 / 1.061 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of Templates: time 0.004723/0.5482, allocations: 0.5023 MB / 1.061 GB, free: 0.5391 MB / 0.8262 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=480 -s cvode -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/jenkins1/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