Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_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.007519/0.007519, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001726/0.001726, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 61.75 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2586, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001977/0.2606, allocations: 1.219 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2624, allocations: 1.259 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.2624, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.2624, allocations: 7.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.2631, allocations: 207.3 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.2632, allocations: 34.06 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.2633, allocations: 19.92 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.2633, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.2633, allocations: 7.828 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1789/0.4422, allocations: 30.91 MB / 1.12 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.4423, allocations: 0 / 1.12 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.4423, allocations: 0 / 1.12 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.4423, allocations: 4 kB / 1.12 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.4424, allocations: 8 kB / 1.12 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4425, allocations: 15.91 kB / 1.12 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4425, allocations: 0 / 1.12 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4425, allocations: 0 / 1.12 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4425, allocations: 0 / 1.12 GB, free: 2.555 MB / 0.8731 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.0003092/0.4428, allocations: 327.5 kB / 1.121 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4429, allocations: 8.031 kB / 1.121 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.443, allocations: 110 kB / 1.121 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.443, allocations: 84.16 kB / 1.121 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4432, allocations: 243.6 kB / 1.121 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.4432, allocations: 150.9 kB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.4433, allocations: 154.9 kB / 1.121 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.848e-05/0.4433, allocations: 104.9 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4434, allocations: 75.28 kB / 1.122 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.4434, allocations: 154.6 kB / 1.122 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.4435, allocations: 154.6 kB / 1.122 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.4435, allocations: 154.5 kB / 1.122 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.4438, allocations: 445.9 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.4438, allocations: 173.1 kB / 1.123 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4439, allocations: 84.14 kB / 1.123 GB, free: 12 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.4439, allocations: 79.22 kB / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.444, allocations: 109.8 kB / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.444, allocations: 0 / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.4441, allocations: 29.64 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.4442, allocations: 211.7 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.4443, allocations: 101.8 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4443, allocations: 29.7 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.4443, allocations: 80.14 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.4443, allocations: 0 / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.4444, allocations: 21.66 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.4445, allocations: 310.8 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.4445, allocations: 4 kB / 1.124 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.4445, allocations: 26.56 kB / 1.124 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.224e-05/0.4446, allocations: 75.28 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.4446, allocations: 75.28 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.967e-05/0.4446, allocations: 41.62 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.4447, allocations: 79.28 kB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.4447, allocations: 79.52 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.388e-05/0.4448, allocations: 162.5 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.042e-05/0.4448, allocations: 75.28 kB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-05/0.4448, allocations: 154.5 kB / 1.124 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.445, allocations: 83.22 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.445, allocations: 79.27 kB / 1.125 GB, free: 14.04 MB / 0.8887 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.0001068/0.4452, allocations: 268.4 kB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.4452, allocations: 108.9 kB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.4453, allocations: 112.1 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/0.4453, allocations: 176.3 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.158e-05/0.4454, allocations: 180.2 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.4454, allocations: 176.3 kB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4456, allocations: 413.2 kB / 1.126 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.4457, allocations: 104.9 kB / 1.126 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4457, allocations: 105 kB / 1.126 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.872e-05/0.4458, allocations: 184.2 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.4458, allocations: 180.3 kB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.218e-05/0.4459, allocations: 188.2 kB / 1.127 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.617e-05/0.4459, allocations: 180.3 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.4461, allocations: 307.8 kB / 1.127 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.4461, allocations: 182 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.4462, allocations: 180.2 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.4463, allocations: 113 kB / 1.128 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.4464, allocations: 180.2 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4464, allocations: 105 kB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.4465, allocations: 79.28 kB / 1.128 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4465, allocations: 0 / 1.128 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002603/0.4467, allocations: 4 kB / 1.128 GB, free: 10.36 MB / 0.8887 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.0003508/0.4471, allocations: 0.8242 MB / 1.129 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.662e-05/0.4471, allocations: 496 / 1.129 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4471, allocations: 0 / 1.129 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.4472, allocations: 0 / 1.129 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4475, allocations: 459.7 kB / 1.129 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.4479, allocations: 194.5 kB / 1.129 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4481, allocations: 0.669 MB / 1.13 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.4481, allocations: 7.938 kB / 1.13 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.4482, allocations: 7.438 kB / 1.13 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.4482, allocations: 4 kB / 1.13 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.4682, allocations: 1.268 MB / 1.131 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.414, allocations: 14.42 kB / 1.131 GB, free: 6.844 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches