Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001714/0.001714, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002194/0.002194, allocations: 217 kB / 22.25 MB, free: 5.082 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.087/3.087, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_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.001912/0.001912, allocations: 67.5 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002209/0.3358, allocations: 1.252 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3377, allocations: 1.36 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.3378, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3378, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.3384, allocations: 211.2 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.3385, allocations: 31.95 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.3386, allocations: 19.92 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.3386, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.3387, allocations: 11.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2486/0.5873, allocations: 31.06 MB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.5873, allocations: 0 / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.5873, allocations: 4 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.5873, allocations: 0 / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.5874, allocations: 11.98 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.5875, allocations: 15.86 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5875, allocations: 0 / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5875, allocations: 0 / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5875, allocations: 0 / 1.359 GB, free: 2.492 MB / 1.045 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.0003237/0.5879, allocations: 246.4 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5879, allocations: 12.03 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.588, allocations: 106 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.5881, allocations: 80.22 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5882, allocations: 181.8 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.5882, allocations: 150.9 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.5883, allocations: 154.9 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.5884, allocations: 116.9 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.5884, allocations: 75.28 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.5885, allocations: 150.6 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.5885, allocations: 150.6 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.5886, allocations: 158.5 kB / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.5889, allocations: 425 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.589, allocations: 165.1 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.589, allocations: 80.14 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.5891, allocations: 79.22 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.455e-05/0.5891, allocations: 113.8 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5891, allocations: 4 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.791e-05/0.5892, allocations: 37.62 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5893, allocations: 203.8 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.5894, allocations: 93.86 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.5895, allocations: 29.7 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.5895, allocations: 84.14 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.5895, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.5895, allocations: 17.7 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5897, allocations: 314.8 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-06/0.5897, allocations: 3.938 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.5897, allocations: 18.58 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.5898, allocations: 83.22 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.5898, allocations: 79.28 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.594e-05/0.5899, allocations: 45.52 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.5899, allocations: 79.28 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/0.5899, allocations: 83.28 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-05/0.59, allocations: 150.6 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.013e-05/0.59, allocations: 79.22 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-05/0.5901, allocations: 150.6 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5903, allocations: 87.2 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5903, allocations: 79.28 kB / 1.363 GB, free: 14.18 MB / 1.061 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.0001341/0.5904, allocations: 264.4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.5905, allocations: 108.9 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.5906, allocations: 108.1 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.041e-05/0.5906, allocations: 180.3 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/0.5907, allocations: 188.2 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-05/0.5908, allocations: 180.3 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.591, allocations: 376.2 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/0.5911, allocations: 108.9 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.5911, allocations: 105 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-05/0.5912, allocations: 180.2 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.5912, allocations: 180.3 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.178e-05/0.5913, allocations: 180.2 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.011e-05/0.5914, allocations: 184.2 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.5915, allocations: 303.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.5916, allocations: 104.9 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.5917, allocations: 192.2 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5918, allocations: 105 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.5919, allocations: 180.3 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.5919, allocations: 108.9 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.592, allocations: 79.27 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000239/0.5922, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 1.061 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.0004438/0.5926, allocations: 0.8048 MB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.195e-05/0.5927, allocations: 7.938 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5927, allocations: 3.938 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5927, allocations: 4 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.5931, allocations: 459.7 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.5935, allocations: 183.2 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5938, allocations: 0.6806 MB / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.5939, allocations: 8.312 kB / 1.368 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.5939, allocations: 15.42 kB / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/0.5939, allocations: 0 / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.6375, allocations: 1.37 MB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.36, allocations: 18.53 kB / 1.37 GB, free: 7.055 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.791358904913068]