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.001863/0.001863, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002655/0.002655, allocations: 213.3 kB / 22.99 MB, free: 4.984 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.444/3.444, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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.00205/0.00205, allocations: 67.19 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 176.1 MB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003496/0.3625, allocations: 1.505 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3643, allocations: 1.197 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.3644, allocations: 3.938 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.3646, allocations: 27.84 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.3648, allocations: 47.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.365, allocations: 57.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3652, allocations: 147.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3654, allocations: 41.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3655, allocations: 83.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3657, allocations: 51.77 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.3657, allocations: 12 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.3658, allocations: 20 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.3659, allocations: 55.81 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.366, allocations: 55.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.3663, allocations: 215.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3663, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3663, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3663, allocations: 0 / 1.33 GB, free: 13.55 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.0008118/0.3671, allocations: 421.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3672, allocations: 12.03 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.3672, allocations: 16.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.3676, allocations: 206.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.3678, allocations: 218.2 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3678, allocations: 8.375 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.3682, allocations: 272.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3683, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3683, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3683, allocations: 12 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.3684, allocations: 46.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3694, allocations: 384.1 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.3695, allocations: 38.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3696, allocations: 24.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3696, allocations: 7.984 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3696, allocations: 34.56 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 3.296e-06/0.3696, allocations: 3.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002699/0.3699, allocations: 105.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.37, allocations: 51.41 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3702, allocations: 215.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3702, allocations: 29.7 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.3703, allocations: 128.2 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3703, allocations: 19.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3704, allocations: 33.72 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3705, allocations: 334.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.3706, allocations: 27.92 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3707, allocations: 102.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3709, allocations: 138.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3709, allocations: 3.938 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002546/0.3711, allocations: 157.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3711, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.3712, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3712, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3713, allocations: 19.98 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3713, allocations: 8.25 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.3713, allocations: 19.83 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3714, allocations: 11.94 kB / 1.333 GB, free: 10.18 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.0001356/0.3715, allocations: 146.2 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3716, allocations: 15.91 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.3718, allocations: 126.8 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3718, allocations: 4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3718, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3718, allocations: 3.938 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.372, allocations: 157.2 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.372, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.372, allocations: 12 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.372, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3721, allocations: 15.98 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3721, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3721, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3723, allocations: 191.3 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.3724, allocations: 11.91 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3724, allocations: 0 / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.3727, allocations: 23.97 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3727, allocations: 0 / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3727, allocations: 11.98 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000162/0.3729, allocations: 161.5 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 4 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003209/0.3732, allocations: 39.86 kB / 1.334 GB, free: 9.207 MB / 1.029 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.0002723/0.3735, allocations: 118.9 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3737, allocations: 76.27 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3737, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.3737, allocations: 27.92 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.374, allocations: 17.88 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.3746, allocations: 282.8 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3747, allocations: 118.4 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.3748, allocations: 56.83 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.3748, allocations: 31.34 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3748, allocations: 0 / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of Templates: time 0.006402/0.3812, allocations: 2.586 MB / 1.338 GB, free: 5.887 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 -s cvode -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.553945949999616]