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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 192.4 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 495.8 MB / 0.783 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 73.27 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003121/0.3659, allocations: 1.524 MB / 1.308 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3678, allocations: 1.204 MB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3678, allocations: 0 / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.368, allocations: 19.86 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.3683, allocations: 43.78 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3685, allocations: 57.09 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.3687, allocations: 147.6 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3689, allocations: 45.16 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.369, allocations: 87.7 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3692, allocations: 53.17 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.3692, allocations: 12 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.3693, allocations: 28 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3694, allocations: 51.81 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3695, allocations: 75.58 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3698, allocations: 203.2 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3698, allocations: 3.938 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3698, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3698, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 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.0007654/0.3706, allocations: 421.4 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3706, allocations: 8.922 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.3707, allocations: 20.8 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.3711, allocations: 205.9 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.3712, allocations: 115.4 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3712, allocations: 4.375 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.3716, allocations: 173.6 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3716, allocations: 3.984 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3717, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.3717, allocations: 8 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.3718, allocations: 43.97 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3729, allocations: 431.5 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.373, allocations: 26.58 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.373, allocations: 28.78 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3731, allocations: 4.141 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3731, allocations: 38.56 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.3731, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0002962/0.3734, allocations: 109.5 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3735, allocations: 51.41 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3737, allocations: 223.6 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3737, allocations: 29.7 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.3738, allocations: 128.1 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3739, allocations: 23.81 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.374, allocations: 33.7 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3741, allocations: 322.8 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.3742, allocations: 35.97 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3743, allocations: 94.23 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3745, allocations: 146.2 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3745, allocations: 0 / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002677/0.3748, allocations: 153.6 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3748, allocations: 13 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3748, allocations: 0 / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3749, allocations: 4 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.375, allocations: 27.92 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.375, allocations: 7.938 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.3751, allocations: 15.89 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3751, allocations: 8 kB / 1.313 GB, free: 11.16 MB / 1.014 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.0001951/0.3753, allocations: 146.5 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.3753, allocations: 19.91 kB / 1.313 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.3756, allocations: 119.1 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3756, allocations: 0 / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3756, allocations: 7.922 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3756, allocations: 0 / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3759, allocations: 196.7 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3759, allocations: 0 / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3759, allocations: 27.86 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3759, allocations: 0 / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.376, allocations: 0 / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.376, allocations: 0 / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.376, allocations: 7.938 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3762, allocations: 195.8 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3762, allocations: 7.953 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3762, allocations: 7.984 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.3765, allocations: 15.98 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.3765, allocations: 11.92 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3766, allocations: 11.98 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001748/0.3767, allocations: 165.5 kB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3767, allocations: 0 / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003127/0.377, allocations: 35.89 kB / 1.314 GB, free: 10.12 MB / 1.014 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.000289/0.3773, allocations: 118.8 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3775, allocations: 75.83 kB / 1.314 GB, free: 9.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3775, allocations: 0 / 1.314 GB, free: 9.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.3776, allocations: 23.98 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3779, allocations: 25.53 kB / 1.314 GB, free: 9.883 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.3785, allocations: 296.1 kB / 1.314 GB, free: 9.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.3789, allocations: 0.7353 MB / 1.315 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.3791, allocations: 56.81 kB / 1.315 GB, free: 8.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.3791, allocations: 15.44 kB / 1.315 GB, free: 8.738 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3791, allocations: 0 / 1.315 GB, free: 8.738 MB / 1.014 GB Notification: Performance of Templates: time 0.006242/0.3853, allocations: 2.438 MB / 1.318 GB, free: 6.32 MB / 1.014 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/jenkins/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: 8.890206628479064]