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.001306/0.001306, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001425/0.001425, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.597/2.597, allocations: 476.8 MB / 0.7715 GB, free: 3.926 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.001961/0.001961, allocations: 63.84 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002284/0.3066, allocations: 1.261 MB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3086, allocations: 1.319 MB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.3087, allocations: 4 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.3087, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.3094, allocations: 207.8 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.3095, allocations: 37.39 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.3096, allocations: 15.98 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.3096, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.3096, allocations: 11.92 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2494/0.559, allocations: 31.07 MB / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.559, allocations: 0 / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.5591, allocations: 0 / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.5591, allocations: 0 / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.5591, allocations: 4 kB / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.5592, allocations: 19.86 kB / 1.317 GB, free: 11.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.5592, allocations: 3.984 kB / 1.317 GB, free: 11.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5592, allocations: 0 / 1.317 GB, free: 11.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5592, allocations: 0 / 1.317 GB, free: 11.29 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.0003077/0.5596, allocations: 238.4 kB / 1.317 GB, free: 11.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5596, allocations: 16.03 kB / 1.317 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.243e-05/0.5597, allocations: 79.47 kB / 1.318 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.5597, allocations: 110 kB / 1.318 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.5598, allocations: 80.2 kB / 1.318 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.5599, allocations: 181.8 kB / 1.318 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.56, allocations: 150.9 kB / 1.318 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.56, allocations: 154.7 kB / 1.318 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.5601, allocations: 108.9 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.5601, allocations: 75.28 kB / 1.318 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.5602, allocations: 158.5 kB / 1.319 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.5603, allocations: 150.6 kB / 1.319 GB, free: 9.738 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.5603, allocations: 158.6 kB / 1.319 GB, free: 9.582 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.5606, allocations: 417 kB / 1.319 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.5607, allocations: 177.1 kB / 1.319 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.5607, allocations: 84.08 kB / 1.319 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.5608, allocations: 75.28 kB / 1.32 GB, free: 8.789 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.5608, allocations: 109.8 kB / 1.32 GB, free: 8.672 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.5608, allocations: 0 / 1.32 GB, free: 8.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.465e-05/0.5609, allocations: 25.7 kB / 1.32 GB, free: 8.641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.561, allocations: 211.8 kB / 1.32 GB, free: 8.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.5611, allocations: 97.84 kB / 1.32 GB, free: 8.297 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5611, allocations: 29.7 kB / 1.32 GB, free: 8.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.5612, allocations: 84.08 kB / 1.32 GB, free: 8.176 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.5612, allocations: 0 / 1.32 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.5612, allocations: 17.72 kB / 1.32 GB, free: 8.152 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5614, allocations: 310.8 kB / 1.32 GB, free: 7.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.5614, allocations: 4 kB / 1.32 GB, free: 7.836 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.5614, allocations: 99.61 kB / 1.32 GB, free: 7.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.5615, allocations: 79.28 kB / 1.321 GB, free: 7.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/0.5615, allocations: 75.28 kB / 1.321 GB, free: 7.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.643e-05/0.5616, allocations: 37.58 kB / 1.321 GB, free: 7.516 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.5616, allocations: 83.28 kB / 1.321 GB, free: 7.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.5616, allocations: 87.3 kB / 1.321 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.968e-05/0.5617, allocations: 158.5 kB / 1.321 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.5617, allocations: 79.22 kB / 1.321 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.587e-05/0.5618, allocations: 150.6 kB / 1.321 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.5619, allocations: 79.28 kB / 1.321 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.562, allocations: 79.22 kB / 1.321 GB, free: 6.809 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.0001346/0.5621, allocations: 264.4 kB / 1.322 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.5622, allocations: 112.9 kB / 1.322 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.5622, allocations: 108.1 kB / 1.322 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/0.5623, allocations: 176.3 kB / 1.322 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.162e-05/0.5624, allocations: 184.3 kB / 1.322 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-05/0.5624, allocations: 184.2 kB / 1.322 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.5627, allocations: 380.3 kB / 1.323 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.5627, allocations: 104.9 kB / 1.323 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.5628, allocations: 105 kB / 1.323 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.5628, allocations: 184.2 kB / 1.323 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.5629, allocations: 180.2 kB / 1.323 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.092e-05/0.563, allocations: 184.3 kB / 1.323 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-05/0.563, allocations: 180.2 kB / 1.324 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.5632, allocations: 311.7 kB / 1.324 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.5632, allocations: 112.9 kB / 1.324 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.5633, allocations: 176.3 kB / 1.324 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5635, allocations: 112.9 kB / 1.324 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.5635, allocations: 184.3 kB / 1.324 GB, free: 3.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.5636, allocations: 101 kB / 1.325 GB, free: 3.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.5636, allocations: 79.22 kB / 1.325 GB, free: 3.262 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.5636, allocations: 4 kB / 1.325 GB, free: 3.258 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000237/0.5639, allocations: 0 / 1.325 GB, free: 3.258 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.0004212/0.5643, allocations: 0.8087 MB / 1.325 GB, free: 2.418 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.666e-05/0.5643, allocations: 8 kB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5643, allocations: 0 / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.5643, allocations: 3.938 kB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5647, allocations: 460.1 kB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.5651, allocations: 190.6 kB / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.5652, allocations: 59.23 kB / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.5652, allocations: 7.984 kB / 1.326 GB, free: 1.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.5652, allocations: 7.438 kB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.5652, allocations: 4 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.5872, allocations: 1.48 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.3, allocations: 8.5 kB / 1.328 GB, free: 232 kB / 1.014 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.415930911083706]