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.001807/0.001807, allocations: 97.92 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.002283/0.002283, allocations: 222.4 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 2.988/2.988, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_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.00194/0.00194, allocations: 68.19 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002311/0.3323, allocations: 1.266 MB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3344, allocations: 1.317 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.3344, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3344, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.3351, allocations: 207.3 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.3352, allocations: 37.58 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.3353, allocations: 23.91 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.3353, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.3353, allocations: 7.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2484/0.5838, allocations: 31.06 MB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.5838, allocations: 0 / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.5838, allocations: 0 / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.5838, allocations: 7.984 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.5838, allocations: 0 / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.584, allocations: 19.86 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.584, allocations: 8 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.584, allocations: 3.938 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.584, allocations: 0 / 1.36 GB, free: 2.051 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.0003036/0.5843, allocations: 242.4 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5843, allocations: 8.031 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.365e-05/0.5844, allocations: 75.47 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.5844, allocations: 110 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.5845, allocations: 80.22 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.5846, allocations: 177.8 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.5847, allocations: 154.9 kB / 1.361 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.5848, allocations: 158.7 kB / 1.361 GB, free: 1 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.5848, allocations: 105 kB / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5849, allocations: 83.28 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.5849, allocations: 158.5 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.585, allocations: 150.6 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.585, allocations: 150.6 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.5853, allocations: 421 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.5854, allocations: 165.1 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.5855, allocations: 88.02 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.5855, allocations: 79.28 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.5856, allocations: 105.8 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.5856, allocations: 4 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.5856, allocations: 33.7 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5858, allocations: 207.8 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.5859, allocations: 97.84 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.5859, allocations: 25.7 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.5859, allocations: 88.14 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.5859, allocations: 0 / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.586, allocations: 13.72 kB / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5861, allocations: 314.8 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.5861, allocations: 3.938 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.5862, allocations: 103.6 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.5862, allocations: 75.28 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-05/0.5862, allocations: 75.28 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.757e-05/0.5863, allocations: 37.64 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.5863, allocations: 83.22 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.5864, allocations: 83.22 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-05/0.5864, allocations: 154.5 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.5865, allocations: 75.28 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-05/0.5865, allocations: 158.5 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.5867, allocations: 75.28 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.5867, allocations: 83.22 kB / 1.364 GB, free: 13.58 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.0001397/0.5869, allocations: 268.4 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.5869, allocations: 112.9 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.587, allocations: 104.1 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/0.587, allocations: 188.2 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.311e-05/0.5871, allocations: 180.3 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.5872, allocations: 188.2 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5874, allocations: 368.2 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.5875, allocations: 105 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.5875, allocations: 108.9 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/0.5876, allocations: 184.5 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.5877, allocations: 184.2 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/0.5877, allocations: 176.3 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.746e-05/0.5878, allocations: 176.3 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.588, allocations: 319.7 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.588, allocations: 104.9 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.5881, allocations: 180.3 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.5882, allocations: 113 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.5883, allocations: 184.2 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.5883, allocations: 105 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.5884, allocations: 79.28 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5884, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002394/0.5886, allocations: 4 kB / 1.367 GB, free: 10.01 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.0004298/0.5891, allocations: 0.8087 MB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.106e-05/0.5891, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5891, allocations: 7.938 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5891, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.5895, allocations: 467.5 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.5899, allocations: 195.1 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.59, allocations: 59.36 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.59, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.59, allocations: 11.44 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.59, allocations: 0 / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.6127, allocations: 1.491 MB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.38, allocations: 10.94 kB / 1.37 GB, free: 6.973 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: 17.800965854898095]