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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00543/0.00543, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001238/0.001238, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.458/2.458, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2945, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002749/0.2973, allocations: 1.227 MB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2993, allocations: 1.257 MB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.2993, allocations: 0 / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2994, allocations: 0 / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007788/0.3002, allocations: 211.3 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.3003, allocations: 35.88 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.3003, allocations: 8 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3004, allocations: 4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.3004, allocations: 8 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1722/0.4726, allocations: 30.92 MB / 1.199 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.4727, allocations: 0 / 1.199 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.4727, allocations: 0 / 1.199 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.4727, allocations: 3.984 kB / 1.199 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.4727, allocations: 7.938 kB / 1.199 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.4729, allocations: 7.984 kB / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4729, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4729, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4729, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 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.0006971/0.4736, allocations: 331.5 kB / 1.199 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4737, allocations: 12.03 kB / 1.199 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.4737, allocations: 106 kB / 1.199 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.4738, allocations: 76.22 kB / 1.2 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4739, allocations: 239.7 kB / 1.2 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.474, allocations: 158.9 kB / 1.2 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.4741, allocations: 154.9 kB / 1.2 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.524e-05/0.4741, allocations: 108.9 kB / 1.2 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.4742, allocations: 75.28 kB / 1.2 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.4742, allocations: 150.6 kB / 1.2 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.4743, allocations: 150.6 kB / 1.201 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.4743, allocations: 154.5 kB / 1.201 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.4746, allocations: 453.9 kB / 1.201 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.4747, allocations: 169.1 kB / 1.201 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.4747, allocations: 84.14 kB / 1.201 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4748, allocations: 79.22 kB / 1.201 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.4748, allocations: 117.8 kB / 1.202 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4748, allocations: 3.938 kB / 1.202 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.966e-05/0.4749, allocations: 29.66 kB / 1.202 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.475, allocations: 207.8 kB / 1.202 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4751, allocations: 97.83 kB / 1.202 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4751, allocations: 29.7 kB / 1.202 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.4752, allocations: 88.08 kB / 1.202 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.4752, allocations: 0 / 1.202 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.4752, allocations: 17.72 kB / 1.202 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.4753, allocations: 314.8 kB / 1.202 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.4753, allocations: 0 / 1.202 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.4754, allocations: 22.58 kB / 1.202 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.4754, allocations: 75.28 kB / 1.202 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.4754, allocations: 75.28 kB / 1.202 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.801e-05/0.4755, allocations: 41.69 kB / 1.203 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.4755, allocations: 79.28 kB / 1.203 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.4756, allocations: 83.22 kB / 1.203 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-05/0.4756, allocations: 154.5 kB / 1.203 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.4757, allocations: 79.22 kB / 1.203 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.195e-05/0.4757, allocations: 150.6 kB / 1.203 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4759, allocations: 79.28 kB / 1.203 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4759, allocations: 87.22 kB / 1.203 GB, free: 4.207 MB / 0.9512 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.0001155/0.476, allocations: 264.4 kB / 1.203 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.4761, allocations: 104.9 kB / 1.204 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.4761, allocations: 112 kB / 1.204 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/0.4762, allocations: 176.3 kB / 1.204 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.709e-05/0.4763, allocations: 184.3 kB / 1.204 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-05/0.4763, allocations: 192.2 kB / 1.204 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.4766, allocations: 393.2 kB / 1.205 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/0.4766, allocations: 112.9 kB / 1.205 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.4766, allocations: 109 kB / 1.205 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/0.4767, allocations: 184.2 kB / 1.205 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.4768, allocations: 180.2 kB / 1.205 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-05/0.4768, allocations: 180.3 kB / 1.205 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-05/0.4769, allocations: 184.2 kB / 1.205 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.477, allocations: 307.8 kB / 1.206 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.4771, allocations: 186 kB / 1.206 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.4772, allocations: 176.3 kB / 1.206 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4773, allocations: 116.9 kB / 1.206 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.4774, allocations: 176.3 kB / 1.206 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4774, allocations: 105 kB / 1.206 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.4775, allocations: 83.22 kB / 1.207 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4775, allocations: 0 / 1.207 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002724/0.4778, allocations: 7.938 kB / 1.207 GB, free: 0.5234 MB / 0.9512 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.0004014/0.4782, allocations: 0.8087 MB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.935e-05/0.4782, allocations: 4.484 kB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4782, allocations: 0 / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-06/0.4782, allocations: 3.938 kB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.4786, allocations: 463.7 kB / 1.208 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.479, allocations: 186.4 kB / 1.208 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.4792, allocations: 0.6768 MB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.4792, allocations: 4 kB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.4793, allocations: 7.438 kB / 1.209 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4793, allocations: 0 / 1.209 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.4988, allocations: 1.279 MB / 1.21 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.944, allocations: 10.62 kB / 1.21 GB, free: 13.01 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/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