Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001335/0.001335, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001482/0.001482, allocations: 216.1 kB / 23 MB, free: 4.969 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.332/3.332, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [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.002075/0.002075, allocations: 67.28 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3882, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00304/0.3913, allocations: 1.501 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3931, allocations: 1.202 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3932, allocations: 3.938 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3934, allocations: 19.86 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.3936, allocations: 39.77 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3938, allocations: 57.41 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.394, allocations: 147.6 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3942, allocations: 41.22 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3943, allocations: 87.69 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3945, allocations: 55.75 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.3945, allocations: 12 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.3946, allocations: 23.94 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3947, allocations: 47.88 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3948, allocations: 67.58 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3951, allocations: 207.2 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3951, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3951, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3951, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007297/0.3958, allocations: 425.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3959, allocations: 8.031 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.396, allocations: 16.84 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.3963, allocations: 210.4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3965, allocations: 226.2 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3966, allocations: 4.375 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.397, allocations: 264.5 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.397, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.397, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.3971, allocations: 8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.3972, allocations: 39.97 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3983, allocations: 388.1 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.532e-05/0.3984, allocations: 38.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3984, allocations: 24.86 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3985, allocations: 3.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3985, allocations: 34.56 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.3985, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003197/0.3988, allocations: 101.6 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3989, allocations: 51.41 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.3992, allocations: 215.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3992, allocations: 29.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3993, allocations: 124.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3993, allocations: 31.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.3994, allocations: 29.72 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3996, allocations: 338.7 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.3996, allocations: 27.98 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3998, allocations: 106.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4, allocations: 142.1 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002678/0.4003, allocations: 153.5 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4003, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4003, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.4003, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4004, allocations: 23.98 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4005, allocations: 7.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.4005, allocations: 15.89 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4005, allocations: 7.938 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.000143/0.4007, allocations: 142 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.4007, allocations: 15.91 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.401, allocations: 131 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.401, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.401, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.401, allocations: 11.91 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.4011, allocations: 7.938 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4013, allocations: 19.97 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.4014, allocations: 7.984 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001792/0.4015, allocations: 152.9 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002582/0.4018, allocations: 274.6 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.119e-05/0.4018, allocations: 20.52 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000165/0.402, allocations: 161.5 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of Backend: time 6.41e-07/0.402, allocations: 0 / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006884/0.4027, allocations: 167.1 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008241/0.4035, allocations: 0.7269 MB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of Templates: time 0.006739/0.4103, allocations: 2.912 MB / 1.338 GB, free: 5.32 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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: 9.537628568999935]