Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 222.3 kB / 22.25 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.23 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002901/0.3134, allocations: 1.26 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.3158, allocations: 1.325 MB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.3159, allocations: 0 / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.3159, allocations: 0 / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.3167, allocations: 211.3 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.3169, allocations: 38.06 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.3169, allocations: 19.92 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.317, allocations: 7.938 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.317, allocations: 11.98 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2515/0.5685, allocations: 31.05 MB / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.5685, allocations: 0 / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.5685, allocations: 0 / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.5685, allocations: 0 / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.5685, allocations: 4 kB / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.5686, allocations: 11.97 kB / 1.316 GB, free: 13.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5687, allocations: 4 kB / 1.316 GB, free: 13.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5687, allocations: 3.938 kB / 1.316 GB, free: 13.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5687, allocations: 0 / 1.316 GB, free: 13.02 MB / 1.014 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.0003123/0.569, allocations: 250.3 kB / 1.316 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.569, allocations: 16.02 kB / 1.316 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/0.5691, allocations: 106 kB / 1.316 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.5692, allocations: 80.22 kB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5693, allocations: 181.8 kB / 1.316 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.5694, allocations: 154.9 kB / 1.316 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.5694, allocations: 150.9 kB / 1.317 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.5695, allocations: 112.9 kB / 1.317 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.5695, allocations: 75.28 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.5696, allocations: 150.6 kB / 1.317 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.5697, allocations: 158.5 kB / 1.317 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.5697, allocations: 162.5 kB / 1.317 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.57, allocations: 413 kB / 1.318 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5701, allocations: 173.2 kB / 1.318 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.5702, allocations: 84.14 kB / 1.318 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.5702, allocations: 83.16 kB / 1.318 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/0.5703, allocations: 109.8 kB / 1.318 GB, free: 10.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5703, allocations: 0 / 1.318 GB, free: 10.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.364e-05/0.5704, allocations: 25.7 kB / 1.318 GB, free: 10.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5705, allocations: 207.8 kB / 1.318 GB, free: 10.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.5706, allocations: 101.8 kB / 1.318 GB, free: 10.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5706, allocations: 29.7 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.5707, allocations: 80.14 kB / 1.318 GB, free: 9.977 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.5707, allocations: 0 / 1.318 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.5707, allocations: 17.72 kB / 1.318 GB, free: 9.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5708, allocations: 314.8 kB / 1.319 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.5708, allocations: 0 / 1.319 GB, free: 9.637 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.5709, allocations: 99.62 kB / 1.319 GB, free: 9.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.571, allocations: 79.28 kB / 1.319 GB, free: 9.434 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.23e-05/0.571, allocations: 75.28 kB / 1.319 GB, free: 9.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.943e-05/0.571, allocations: 33.64 kB / 1.319 GB, free: 9.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.5711, allocations: 83.28 kB / 1.319 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.5711, allocations: 75.36 kB / 1.319 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.22e-05/0.5712, allocations: 170.5 kB / 1.319 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.395e-05/0.5712, allocations: 75.28 kB / 1.319 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-05/0.5713, allocations: 154.5 kB / 1.32 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5715, allocations: 83.22 kB / 1.32 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.5715, allocations: 75.28 kB / 1.32 GB, free: 8.613 MB / 1.014 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.0001443/0.5716, allocations: 268.3 kB / 1.32 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.5717, allocations: 112.9 kB / 1.32 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.5718, allocations: 104.1 kB / 1.32 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.766e-05/0.5718, allocations: 184.2 kB / 1.32 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/0.5719, allocations: 180.3 kB / 1.321 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.826e-05/0.572, allocations: 184.2 kB / 1.321 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.5722, allocations: 376.3 kB / 1.321 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.793e-05/0.5723, allocations: 104.9 kB / 1.321 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.5723, allocations: 108.9 kB / 1.321 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.5724, allocations: 180.3 kB / 1.321 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/0.5725, allocations: 180.2 kB / 1.322 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.512e-05/0.5726, allocations: 180.3 kB / 1.322 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.6e-05/0.5726, allocations: 180.3 kB / 1.322 GB, free: 6.184 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.5728, allocations: 311.7 kB / 1.322 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.5729, allocations: 116.9 kB / 1.322 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.573, allocations: 184.2 kB / 1.323 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5731, allocations: 109 kB / 1.323 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.5732, allocations: 180.2 kB / 1.323 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.5732, allocations: 105 kB / 1.323 GB, free: 5.141 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.5733, allocations: 79.52 kB / 1.323 GB, free: 5.062 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.5733, allocations: 0 / 1.323 GB, free: 5.062 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002388/0.5735, allocations: 4 kB / 1.323 GB, free: 5.059 MB / 1.014 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.0004675/0.574, allocations: 0.8087 MB / 1.324 GB, free: 4.219 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.5741, allocations: 12 kB / 1.324 GB, free: 4.207 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5741, allocations: 0 / 1.324 GB, free: 4.207 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.5741, allocations: 0 / 1.324 GB, free: 4.207 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.5746, allocations: 455.8 kB / 1.324 GB, free: 3.758 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.575, allocations: 190.6 kB / 1.324 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.5751, allocations: 59.3 kB / 1.325 GB, free: 3.453 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.5751, allocations: 7.984 kB / 1.325 GB, free: 3.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.5751, allocations: 15.42 kB / 1.325 GB, free: 3.43 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.5751, allocations: 0 / 1.325 GB, free: 3.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.6048, allocations: 1.818 MB / 1.326 GB, free: 1.688 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.36, allocations: 3.938 kB / 1.326 GB, free: 1.684 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.80374104809016]