Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_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.006846/0.006846, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001772/0.001772, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 72.34 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2858, allocations: 162.2 MB / 1.241 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002212/0.2881, allocations: 1.249 MB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2899, allocations: 1.251 MB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.29, allocations: 4 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.29, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.2906, allocations: 215.2 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.2908, allocations: 31.2 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.2908, allocations: 19.92 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.2908, allocations: 0 / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2909, allocations: 11.98 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2582/0.5491, allocations: 30.9 MB / 1.274 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.5491, allocations: 0 / 1.274 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.5492, allocations: 4 kB / 1.274 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.5492, allocations: 3.938 kB / 1.274 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.5492, allocations: 11.98 kB / 1.274 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.5493, allocations: 7.984 kB / 1.274 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5493, allocations: 3.938 kB / 1.274 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5493, allocations: 0 / 1.274 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5493, allocations: 0 / 1.274 GB, free: 10.23 MB / 0.9981 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.00029/0.5496, allocations: 323.5 kB / 1.275 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5497, allocations: 8.031 kB / 1.275 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.5498, allocations: 106 kB / 1.275 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.5498, allocations: 84.22 kB / 1.275 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.55, allocations: 243.6 kB / 1.275 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.55, allocations: 154.9 kB / 1.275 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.5501, allocations: 154.9 kB / 1.275 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.345e-05/0.5502, allocations: 104.9 kB / 1.275 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.5502, allocations: 75.28 kB / 1.276 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.5503, allocations: 162.5 kB / 1.276 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.5504, allocations: 150.6 kB / 1.276 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.5504, allocations: 150.6 kB / 1.276 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.5507, allocations: 442 kB / 1.276 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/0.5508, allocations: 181.1 kB / 1.277 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.5509, allocations: 80.14 kB / 1.277 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.5509, allocations: 79.22 kB / 1.277 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.551, allocations: 109.8 kB / 1.277 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.551, allocations: 0 / 1.277 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.081e-05/0.551, allocations: 37.64 kB / 1.277 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5511, allocations: 207.8 kB / 1.277 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.5512, allocations: 105.8 kB / 1.277 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5513, allocations: 25.7 kB / 1.277 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.5513, allocations: 80.14 kB / 1.277 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-06/0.5513, allocations: 0 / 1.277 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.5514, allocations: 13.72 kB / 1.277 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5515, allocations: 314.8 kB / 1.278 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.5515, allocations: 4 kB / 1.278 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.5515, allocations: 22.56 kB / 1.278 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.5516, allocations: 79.28 kB / 1.278 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/0.5516, allocations: 75.28 kB / 1.278 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.5517, allocations: 37.62 kB / 1.278 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5517, allocations: 79.28 kB / 1.278 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.5517, allocations: 79.28 kB / 1.278 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-05/0.5518, allocations: 154.6 kB / 1.278 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-05/0.5519, allocations: 83.22 kB / 1.278 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.795e-05/0.5519, allocations: 154.5 kB / 1.278 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.5521, allocations: 87.22 kB / 1.278 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.5521, allocations: 75.28 kB / 1.278 GB, free: 5.719 MB / 0.9981 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.0001225/0.5522, allocations: 256.4 kB / 1.279 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.5523, allocations: 116.9 kB / 1.279 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5524, allocations: 116 kB / 1.279 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.666e-05/0.5524, allocations: 176.3 kB / 1.279 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/0.5525, allocations: 188.2 kB / 1.279 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/0.5526, allocations: 176.3 kB / 1.279 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.5528, allocations: 409.2 kB / 1.28 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-05/0.5529, allocations: 112.8 kB / 1.28 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.5529, allocations: 101 kB / 1.28 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.553, allocations: 180.2 kB / 1.28 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.5531, allocations: 184.2 kB / 1.28 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.741e-05/0.5532, allocations: 180.3 kB / 1.281 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.979e-05/0.5532, allocations: 184.2 kB / 1.281 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.5534, allocations: 307.8 kB / 1.281 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.5535, allocations: 182 kB / 1.281 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.24e-05/0.5536, allocations: 184.3 kB / 1.281 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5537, allocations: 112.9 kB / 1.281 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.5538, allocations: 180.2 kB / 1.282 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.5538, allocations: 104.9 kB / 1.282 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.5539, allocations: 79.28 kB / 1.282 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5539, allocations: 0 / 1.282 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002596/0.5541, allocations: 4 kB / 1.282 GB, free: 2.039 MB / 0.9981 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.0004193/0.5546, allocations: 0.8087 MB / 1.283 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.085e-05/0.5546, allocations: 3.938 kB / 1.283 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5546, allocations: 0 / 1.283 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5546, allocations: 0 / 1.283 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.555, allocations: 463.7 kB / 1.283 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.5554, allocations: 194.9 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.5557, allocations: 0.669 MB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.5557, allocations: 4 kB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.5557, allocations: 7.438 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.5557, allocations: 0 / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.5774, allocations: 1.267 MB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/8.094, allocations: 19.17 kB / 1.285 GB, free: 14.55 MB / 1.014 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches