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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00575/0.00575, allocations: 99.42 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.001248/0.001248, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.636/2.636, allocations: 469.4 MB / 0.7421 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002225/0.2903, allocations: 1.243 MB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2921, allocations: 1.251 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2922, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.2922, allocations: 3.984 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007957/0.293, allocations: 215.2 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.2932, allocations: 39.44 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.2932, allocations: 15.88 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.2933, allocations: 3.984 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.2933, allocations: 4 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7483/1.042, allocations: 30.9 MB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/1.042, allocations: 2.406 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/1.042, allocations: 0.9688 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/1.042, allocations: 4.656 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/1.042, allocations: 9.516 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/1.042, allocations: 10.33 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.042, allocations: 0.8125 kB / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.042, allocations: 0 / 1.253 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.042, allocations: 0.7812 kB / 1.253 GB, free: 32.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.0002302/1.042, allocations: 316.4 kB / 1.253 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.042, allocations: 10.14 kB / 1.253 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/1.042, allocations: 113.8 kB / 1.253 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/1.042, allocations: 78.52 kB / 1.253 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/1.042, allocations: 243.1 kB / 1.253 GB, free: 31.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.042, allocations: 151.5 kB / 1.254 GB, free: 31.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/1.042, allocations: 157.3 kB / 1.254 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.115e-05/1.042, allocations: 106.3 kB / 1.254 GB, free: 31.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.042, allocations: 75.28 kB / 1.254 GB, free: 30.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.042, allocations: 159.1 kB / 1.254 GB, free: 30.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/1.042, allocations: 153.1 kB / 1.254 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/1.043, allocations: 154.2 kB / 1.254 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/1.043, allocations: 449.3 kB / 1.255 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/1.043, allocations: 178.4 kB / 1.255 GB, free: 29.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/1.043, allocations: 80.66 kB / 1.255 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/1.043, allocations: 75.91 kB / 1.255 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.043, allocations: 114 kB / 1.255 GB, free: 29.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.043, allocations: 0.8438 kB / 1.255 GB, free: 29.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.422e-05/1.043, allocations: 31.67 kB / 1.255 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.043, allocations: 205.1 kB / 1.255 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/1.043, allocations: 101.9 kB / 1.255 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/1.043, allocations: 29.69 kB / 1.255 GB, free: 29.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/1.043, allocations: 81.8 kB / 1.256 GB, free: 29.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/1.043, allocations: 0 / 1.256 GB, free: 29.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/1.043, allocations: 18.03 kB / 1.256 GB, free: 29.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/1.043, allocations: 316.1 kB / 1.256 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/1.043, allocations: 0.8125 kB / 1.256 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/1.043, allocations: 18.36 kB / 1.256 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.368e-05/1.043, allocations: 80.75 kB / 1.256 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.043, allocations: 75.28 kB / 1.256 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.895e-05/1.043, allocations: 35.67 kB / 1.256 GB, free: 28.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.043, allocations: 81.45 kB / 1.256 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.043, allocations: 81.25 kB / 1.256 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.043, allocations: 155.7 kB / 1.256 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.036e-05/1.043, allocations: 80.67 kB / 1.256 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.043, allocations: 155.6 kB / 1.257 GB, free: 28.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.044, allocations: 79.19 kB / 1.257 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.044, allocations: 80.28 kB / 1.257 GB, free: 27.91 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 6.47e-05/1.044, allocations: 264.5 kB / 1.257 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/1.044, allocations: 111 kB / 1.257 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/1.044, allocations: 113 kB / 1.257 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/1.044, allocations: 177.6 kB / 1.257 GB, free: 27.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.044, allocations: 181.5 kB / 1.258 GB, free: 27.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/1.044, allocations: 185.5 kB / 1.258 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/1.044, allocations: 399.5 kB / 1.258 GB, free: 26.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.044, allocations: 110.3 kB / 1.258 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/1.044, allocations: 114.5 kB / 1.258 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/1.044, allocations: 181.2 kB / 1.259 GB, free: 26.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.044, allocations: 177.7 kB / 1.259 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.439e-05/1.044, allocations: 186.4 kB / 1.259 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.288e-05/1.044, allocations: 182 kB / 1.259 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.459e-05/1.044, allocations: 305.4 kB / 1.259 GB, free: 25.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/1.044, allocations: 185.1 kB / 1.26 GB, free: 25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/1.044, allocations: 182.9 kB / 1.26 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.044, allocations: 108.7 kB / 1.26 GB, free: 24.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/1.044, allocations: 185.3 kB / 1.26 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.044, allocations: 106.1 kB / 1.26 GB, free: 24.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.245e-05/1.044, allocations: 78.55 kB / 1.26 GB, free: 24.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 1.26 GB, free: 24.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002387/1.045, allocations: 3.688 kB / 1.26 GB, free: 24.36 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.0002235/1.045, allocations: 0.8111 MB / 1.261 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.671e-05/1.045, allocations: 6.188 kB / 1.261 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.045, allocations: 0 / 1.261 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/1.045, allocations: 4.625 kB / 1.261 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.045, allocations: 463.6 kB / 1.261 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/1.046, allocations: 195.5 kB / 1.262 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.275e-05/1.046, allocations: 0.6727 MB / 1.262 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.958e-05/1.046, allocations: 3.672 kB / 1.262 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/1.046, allocations: 8.656 kB / 1.262 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.046, allocations: 0 / 1.262 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/1.076, allocations: 1.258 MB / 1.263 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/8.452, allocations: 7.938 kB / 1.263 GB, free: 21.83 MB / 0.9981 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 50 --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