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.001689/0.001689, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.002232/0.002232, allocations: 221.5 kB / 23.04 MB, free: 5.062 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.617/2.617, allocations: 476.8 MB / 0.7715 GB, free: 4.258 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",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.002177/0.002177, allocations: 70.59 kB / 1.118 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3198, allocations: 169.9 MB / 1.284 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002284/0.3221, allocations: 1.262 MB / 1.285 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3242, allocations: 1.353 MB / 1.287 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.3242, allocations: 0 / 1.287 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.3242, allocations: 4 kB / 1.287 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.3249, allocations: 211.2 kB / 1.287 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.325, allocations: 36.33 kB / 1.287 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.3251, allocations: 27.91 kB / 1.287 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.3251, allocations: 0 / 1.287 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.3252, allocations: 4 kB / 1.287 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2456/0.5708, allocations: 31.07 MB / 1.317 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.5708, allocations: 0 / 1.317 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.5708, allocations: 4 kB / 1.317 GB, free: 4.328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.5708, allocations: 8 kB / 1.317 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.5709, allocations: 0 / 1.317 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.571, allocations: 11.92 kB / 1.317 GB, free: 4.309 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.571, allocations: 4 kB / 1.317 GB, free: 4.305 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.414e-06/0.571, allocations: 0 / 1.317 GB, free: 4.305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.571, allocations: 0 / 1.317 GB, free: 4.305 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.0003204/0.5713, allocations: 250.4 kB / 1.318 GB, free: 4.031 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5714, allocations: 8.031 kB / 1.318 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.578e-05/0.5714, allocations: 79.47 kB / 1.318 GB, free: 3.945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.5715, allocations: 106 kB / 1.318 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.5716, allocations: 84.2 kB / 1.318 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5717, allocations: 181.8 kB / 1.318 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.5718, allocations: 158.9 kB / 1.318 GB, free: 3.391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.5718, allocations: 154.7 kB / 1.318 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.5719, allocations: 113 kB / 1.318 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.572, allocations: 75.28 kB / 1.318 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.572, allocations: 150.6 kB / 1.319 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/0.5721, allocations: 150.6 kB / 1.319 GB, free: 2.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.5721, allocations: 150.6 kB / 1.319 GB, free: 2.602 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.5724, allocations: 425 kB / 1.319 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.5725, allocations: 169.1 kB / 1.319 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.5726, allocations: 84.08 kB / 1.32 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.5726, allocations: 75.28 kB / 1.32 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.5727, allocations: 117.8 kB / 1.32 GB, free: 1.684 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.5727, allocations: 0 / 1.32 GB, free: 1.684 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.523e-05/0.5728, allocations: 37.62 kB / 1.32 GB, free: 1.641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.5729, allocations: 203.8 kB / 1.32 GB, free: 1.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.573, allocations: 93.86 kB / 1.32 GB, free: 1.309 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.573, allocations: 29.7 kB / 1.32 GB, free: 1.273 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.5731, allocations: 84.14 kB / 1.32 GB, free: 1.188 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.5731, allocations: 0 / 1.32 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.5731, allocations: 21.7 kB / 1.32 GB, free: 1.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5732, allocations: 310.8 kB / 1.32 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-06/0.5732, allocations: 0 / 1.32 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.5733, allocations: 26.52 kB / 1.321 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.5733, allocations: 75.28 kB / 1.321 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-05/0.5733, allocations: 75.28 kB / 1.321 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.382e-05/0.5734, allocations: 37.58 kB / 1.321 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.5734, allocations: 91.2 kB / 1.321 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.5735, allocations: 75.28 kB / 1.321 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-05/0.5735, allocations: 154.6 kB / 1.321 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.5736, allocations: 83.22 kB / 1.321 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.768e-05/0.5736, allocations: 150.6 kB / 1.321 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5738, allocations: 87.22 kB / 1.321 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.5739, allocations: 83.27 kB / 1.321 GB, free: 15.91 MB / 1.029 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.0001342/0.574, allocations: 260.4 kB / 1.322 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.5741, allocations: 108.9 kB / 1.322 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.5741, allocations: 112.1 kB / 1.322 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/0.5742, allocations: 184.3 kB / 1.322 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-05/0.5743, allocations: 188.2 kB / 1.322 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/0.5743, allocations: 176.3 kB / 1.322 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.5746, allocations: 380.2 kB / 1.323 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.5746, allocations: 104.9 kB / 1.323 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.5747, allocations: 105 kB / 1.323 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/0.5747, allocations: 180.2 kB / 1.323 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.5748, allocations: 180.3 kB / 1.323 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.892e-05/0.5749, allocations: 180.2 kB / 1.323 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-05/0.5749, allocations: 184.2 kB / 1.324 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5751, allocations: 307.7 kB / 1.324 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.5751, allocations: 105.2 kB / 1.324 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.5752, allocations: 192.2 kB / 1.324 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5754, allocations: 101 kB / 1.324 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.5754, allocations: 184.2 kB / 1.324 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.5755, allocations: 108.9 kB / 1.325 GB, free: 12.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.5755, allocations: 79.27 kB / 1.325 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5755, allocations: 4 kB / 1.325 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.5758, allocations: 4 kB / 1.325 GB, free: 12.36 MB / 1.029 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.0004496/0.5762, allocations: 0.8009 MB / 1.325 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.5763, allocations: 7.922 kB / 1.325 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5763, allocations: 8 kB / 1.325 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.5763, allocations: 4 kB / 1.325 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.5767, allocations: 451.7 kB / 1.326 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.5771, allocations: 191.1 kB / 1.326 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.5774, allocations: 0.6767 MB / 1.327 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.5774, allocations: 11.94 kB / 1.327 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.5774, allocations: 7.438 kB / 1.327 GB, free: 10.11 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/0.5774, allocations: 0 / 1.327 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.6, allocations: 1.385 MB / 1.328 GB, free: 8.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.13, allocations: 11.22 kB / 1.328 GB, free: 8.797 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.348992238985375]