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.000884/0.0008839, allocations: 97.41 kB / 15.36 MB, free: 0.7305 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.001022/0.001022, allocations: 172.7 kB / 16.27 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.681/2.681, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 15.98 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7581, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002234/0.7604, allocations: 0.9681 MB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.7638, allocations: 1.23 MB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.7639, allocations: 3.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.7639, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.765, allocations: 159.6 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.7652, allocations: 31.95 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.7653, allocations: 15.92 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.7654, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.7655, allocations: 11.94 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5096/1.275, allocations: 28.18 MB / 1.053 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/1.275, allocations: 0 / 1.053 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/1.275, allocations: 0 / 1.053 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/1.275, allocations: 0 / 1.053 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/1.275, allocations: 29.7 kB / 1.053 GB, free: 4.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.9e-05/1.275, allocations: 11.92 kB / 1.053 GB, free: 4.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.275, allocations: 0 / 1.053 GB, free: 4.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/1.275, allocations: 0 / 1.053 GB, free: 4.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.661e-06/1.275, allocations: 4 kB / 1.053 GB, free: 4.711 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.0002543/1.276, allocations: 315.5 kB / 1.053 GB, free: 4.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.276, allocations: 12.09 kB / 1.053 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/1.276, allocations: 76.22 kB / 1.053 GB, free: 4.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.276, allocations: 247.6 kB / 1.054 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/1.276, allocations: 158.9 kB / 1.054 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/1.276, allocations: 150.9 kB / 1.054 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/1.276, allocations: 113 kB / 1.054 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.276, allocations: 75.28 kB / 1.054 GB, free: 3.492 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/1.276, allocations: 150.6 kB / 1.054 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.276, allocations: 150.6 kB / 1.054 GB, free: 3.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/1.276, allocations: 158.5 kB / 1.054 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/1.276, allocations: 449.9 kB / 1.055 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/1.277, allocations: 169.1 kB / 1.055 GB, free: 2.375 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/1.277, allocations: 80.14 kB / 1.055 GB, free: 2.293 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/1.277, allocations: 75.28 kB / 1.055 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.034e-05/1.277, allocations: 117.8 kB / 1.055 GB, free: 2.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/1.277, allocations: 0 / 1.055 GB, free: 2.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.214e-05/1.277, allocations: 33.62 kB / 1.055 GB, free: 2.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/1.277, allocations: 207.8 kB / 1.056 GB, free: 1.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.277, allocations: 97.84 kB / 1.056 GB, free: 1.715 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.277, allocations: 29.7 kB / 1.056 GB, free: 1.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/1.277, allocations: 80.14 kB / 1.056 GB, free: 1.598 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/1.277, allocations: 0 / 1.056 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/1.277, allocations: 13.72 kB / 1.056 GB, free: 1.578 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/1.277, allocations: 310.8 kB / 1.056 GB, free: 1.266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/1.277, allocations: 0 / 1.056 GB, free: 1.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/1.277, allocations: 22.58 kB / 1.056 GB, free: 1.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/1.277, allocations: 79.27 kB / 1.056 GB, free: 1.156 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.277, allocations: 75.28 kB / 1.056 GB, free: 1.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.451e-05/1.277, allocations: 37.58 kB / 1.056 GB, free: 1.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/1.277, allocations: 87.28 kB / 1.056 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.277, allocations: 79.22 kB / 1.056 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.634e-05/1.278, allocations: 154.5 kB / 1.057 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/1.278, allocations: 79.33 kB / 1.057 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-05/1.278, allocations: 154.6 kB / 1.057 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/1.278, allocations: 87.2 kB / 1.057 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/1.278, allocations: 79.28 kB / 1.057 GB, free: 336 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.0001087/1.278, allocations: 260.4 kB / 1.057 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/1.278, allocations: 112.9 kB / 1.057 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/1.278, allocations: 108.1 kB / 1.057 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.707e-05/1.278, allocations: 180.3 kB / 1.058 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.828e-05/1.278, allocations: 184.2 kB / 1.058 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/1.278, allocations: 180.3 kB / 1.058 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/1.278, allocations: 405.2 kB / 1.058 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/1.279, allocations: 105 kB / 1.058 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/1.279, allocations: 104.9 kB / 1.059 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-05/1.279, allocations: 180.2 kB / 1.059 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/1.279, allocations: 184.2 kB / 1.059 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.331e-05/1.279, allocations: 188.1 kB / 1.059 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-05/1.279, allocations: 176.3 kB / 1.059 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/1.279, allocations: 311.7 kB / 1.06 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/1.279, allocations: 190.4 kB / 1.06 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/1.279, allocations: 184.2 kB / 1.06 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/1.279, allocations: 105 kB / 1.06 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/1.279, allocations: 192.2 kB / 1.06 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.28, allocations: 101 kB / 1.06 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.12e-05/1.28, allocations: 75.28 kB / 1.06 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.28, allocations: 4 kB / 1.06 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002456/1.28, allocations: 4 kB / 1.06 GB, free: 12.64 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.0001409/1.28, allocations: 174.5 kB / 1.061 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.499e-05/1.28, allocations: 4 kB / 1.061 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.28, allocations: 0 / 1.061 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/1.28, allocations: 3.938 kB / 1.061 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/1.28, allocations: 0.532 MB / 1.061 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/1.281, allocations: 167.9 kB / 1.061 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/1.281, allocations: 0.6731 MB / 1.062 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.623e-05/1.281, allocations: 0 / 1.062 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/1.281, allocations: 11.44 kB / 1.062 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.281, allocations: 4 kB / 1.062 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.002571/1.284, allocations: 484 kB / 1.062 GB, free: 10.54 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=480 -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