Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001333/0.001333, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001526/0.001526, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003339/0.003339, allocations: 70.02 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3553, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002995/0.3583, allocations: 1.506 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3601, allocations: 1.197 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.3602, allocations: 3.938 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.3604, allocations: 19.86 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.3606, allocations: 51.77 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3607, allocations: 47.91 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.361, allocations: 155.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3611, allocations: 33.22 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3612, allocations: 83.77 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3614, allocations: 55.7 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.3614, allocations: 12 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.3615, allocations: 31.92 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.3616, allocations: 51.89 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3617, allocations: 63.64 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3619, allocations: 199.2 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.362, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.362, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.362, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 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.000752/0.3627, allocations: 417.4 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3627, allocations: 12.03 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.3628, allocations: 24.73 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.3632, allocations: 209.9 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.3634, allocations: 218.2 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3634, allocations: 4.375 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.3639, allocations: 274.9 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3639, allocations: 0 / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3639, allocations: 0 / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.3639, allocations: 11.98 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.364, allocations: 47.91 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3651, allocations: 372.2 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.3651, allocations: 38.5 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.3652, allocations: 24.84 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3652, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3652, allocations: 38.56 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3652, allocations: 3.938 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.000286/0.3655, allocations: 109.7 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3656, allocations: 55.39 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3658, allocations: 211.8 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3659, allocations: 33.7 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.366, allocations: 120.2 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.366, allocations: 23.8 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.366, allocations: 37.7 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3662, allocations: 330.8 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.3663, allocations: 27.92 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3664, allocations: 102.3 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3666, allocations: 138.1 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3666, allocations: 4 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002705/0.3669, allocations: 157.3 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3669, allocations: 4 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3669, allocations: 4 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3669, allocations: 4.375 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.367, allocations: 31.92 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.367, allocations: 0 / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.3671, allocations: 19.83 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3671, allocations: 11.98 kB / 1.37 GB, free: 6.691 MB / 1.061 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.0001369/0.3672, allocations: 139.1 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3673, allocations: 23.83 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3675, allocations: 119.1 kB / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3675, allocations: 0 / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3675, allocations: 0 / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3675, allocations: 3.938 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3678, allocations: 161.2 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3678, allocations: 0 / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.3678, allocations: 15.98 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3678, allocations: 0 / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3678, allocations: 4 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3678, allocations: 0 / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3678, allocations: 0 / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.368, allocations: 203.2 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.3681, allocations: 11.91 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3681, allocations: 0 / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3683, allocations: 27.97 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.3684, allocations: 3.938 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3684, allocations: 15.97 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000168/0.3686, allocations: 164.1 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 0 / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003116/0.3689, allocations: 35.88 kB / 1.371 GB, free: 5.715 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 (8): * Single equations (assignments): 8 * 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.00027/0.3691, allocations: 114 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3693, allocations: 71.83 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3693, allocations: 3.938 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.3694, allocations: 31.91 kB / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3697, allocations: 16.75 kB / 1.371 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.3702, allocations: 286.8 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3704, allocations: 118.1 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.3705, allocations: 56.81 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.3705, allocations: 15.44 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3705, allocations: 0 / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of Templates: time 0.006099/0.3766, allocations: 2.555 MB / 1.374 GB, free: 2.445 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.98951550014317]