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.001445/0.001445, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001499/0.001499, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.748/2.748, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5882, allocations: 151.6 MB / 1.017 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002456/0.5907, allocations: 1.303 MB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.5926, allocations: 1.226 MB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.5926, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.5927, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006599/0.5933, allocations: 183.6 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.5935, allocations: 31.89 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.5935, allocations: 16 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.5936, allocations: 3.984 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.5936, allocations: 11.98 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5587/1.152, allocations: 30.63 MB / 1.049 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/1.152, allocations: 0 / 1.049 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/1.152, allocations: 0 / 1.049 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/1.152, allocations: 3.984 kB / 1.049 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/1.152, allocations: 11.94 kB / 1.049 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.803e-05/1.152, allocations: 7.984 kB / 1.049 GB, free: 4.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.153, allocations: 3.938 kB / 1.049 GB, free: 4.738 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.263e-06/1.153, allocations: 4 kB / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.93e-06/1.153, allocations: 4 kB / 1.049 GB, free: 4.73 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.0003779/1.153, allocations: 323.5 kB / 1.05 GB, free: 4.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/1.153, allocations: 12.03 kB / 1.05 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/1.153, allocations: 76.22 kB / 1.05 GB, free: 4.281 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/1.153, allocations: 235.7 kB / 1.05 GB, free: 4.012 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/1.153, allocations: 150.9 kB / 1.05 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/1.153, allocations: 158.9 kB / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/1.154, allocations: 109 kB / 1.05 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.154, allocations: 79.27 kB / 1.051 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/1.154, allocations: 150.6 kB / 1.051 GB, free: 3.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/1.154, allocations: 154.5 kB / 1.051 GB, free: 3.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/1.154, allocations: 154.6 kB / 1.051 GB, free: 3.062 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/1.154, allocations: 446 kB / 1.051 GB, free: 2.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.154, allocations: 169.1 kB / 1.052 GB, free: 2.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/1.154, allocations: 80.14 kB / 1.052 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/1.154, allocations: 75.28 kB / 1.052 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/1.154, allocations: 125.7 kB / 1.052 GB, free: 2.113 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.154, allocations: 0 / 1.052 GB, free: 2.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.078e-05/1.155, allocations: 25.7 kB / 1.052 GB, free: 2.082 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.155, allocations: 203.8 kB / 1.052 GB, free: 1.852 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/1.155, allocations: 97.86 kB / 1.052 GB, free: 1.746 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/1.155, allocations: 29.7 kB / 1.052 GB, free: 1.711 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/1.155, allocations: 84.12 kB / 1.052 GB, free: 1.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/1.155, allocations: 4 kB / 1.052 GB, free: 1.621 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/1.155, allocations: 17.72 kB / 1.052 GB, free: 1.598 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.155, allocations: 310.8 kB / 1.053 GB, free: 1.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/1.155, allocations: 0 / 1.053 GB, free: 1.285 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/1.155, allocations: 22.52 kB / 1.053 GB, free: 1.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/1.155, allocations: 79.27 kB / 1.053 GB, free: 1.176 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/1.155, allocations: 75.28 kB / 1.053 GB, free: 1.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.929e-05/1.155, allocations: 41.64 kB / 1.053 GB, free: 1.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.155, allocations: 79.28 kB / 1.053 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/1.155, allocations: 79.28 kB / 1.053 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.319e-05/1.156, allocations: 158.5 kB / 1.053 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.554e-05/1.156, allocations: 83.22 kB / 1.053 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.199e-05/1.156, allocations: 154.5 kB / 1.053 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.156, allocations: 87.27 kB / 1.053 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.156, allocations: 75.52 kB / 1.053 GB, free: 356 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.0001417/1.156, allocations: 268.3 kB / 1.054 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/1.156, allocations: 112.8 kB / 1.054 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/1.156, allocations: 112.1 kB / 1.054 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-05/1.156, allocations: 188.2 kB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-05/1.156, allocations: 176.3 kB / 1.054 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.4e-05/1.156, allocations: 176.3 kB / 1.054 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/1.157, allocations: 409.2 kB / 1.055 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/1.157, allocations: 101 kB / 1.055 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/1.157, allocations: 108.9 kB / 1.055 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-05/1.157, allocations: 184.3 kB / 1.055 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/1.157, allocations: 184.2 kB / 1.055 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.836e-05/1.157, allocations: 184.2 kB / 1.056 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.845e-05/1.157, allocations: 176.3 kB / 1.056 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/1.157, allocations: 312.1 kB / 1.056 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/1.157, allocations: 194 kB / 1.056 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/1.158, allocations: 180.3 kB / 1.056 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.158, allocations: 105 kB / 1.057 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/1.158, allocations: 184.2 kB / 1.057 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/1.158, allocations: 105 kB / 1.057 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.976e-05/1.158, allocations: 83.28 kB / 1.057 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/1.158, allocations: 0 / 1.057 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002571/1.158, allocations: 4 kB / 1.057 GB, free: 12.65 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.0001542/1.158, allocations: 174.5 kB / 1.057 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.716e-05/1.158, allocations: 3.938 kB / 1.057 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.158, allocations: 0 / 1.057 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/1.158, allocations: 0 / 1.057 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.159, allocations: 463.7 kB / 1.057 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/1.159, allocations: 164.8 kB / 1.058 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.159, allocations: 0.6729 MB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.222e-05/1.159, allocations: 4 kB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/1.159, allocations: 11.44 kB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/1.159, allocations: 3.938 kB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.002803/1.162, allocations: 0.4941 MB / 1.059 GB, free: 10.61 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