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.001699/0.001699, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001997/0.001997, allocations: 158.2 kB / 23.01 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.854/2.854, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 177] 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.0021/0.0021, allocations: 67.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7619, allocations: 181.8 MB / 1.187 GB, free: 16.45 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00246/0.7644, allocations: 1.514 MB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.7656, allocations: 1.199 MB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.7657, allocations: 1.188 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.7658, allocations: 22.34 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.766, allocations: 40.52 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.7662, allocations: 65.56 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.7663, allocations: 147.1 kB / 1.19 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.7665, allocations: 30.94 kB / 1.19 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.7666, allocations: 92.17 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.7667, allocations: 56.03 kB / 1.19 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.7667, allocations: 10.16 kB / 1.19 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.7668, allocations: 20.48 kB / 1.19 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.7669, allocations: 54.31 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.767, allocations: 59.55 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.7672, allocations: 210.9 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7672, allocations: 0.9062 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7672, allocations: 0 / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7672, allocations: 0.9375 kB / 1.19 GB, free: 14.22 MB / 1.076 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.0005697/0.7678, allocations: 421.2 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.7678, allocations: 10.5 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.7679, allocations: 21.11 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.7682, allocations: 198.2 kB / 1.191 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.7683, allocations: 219.6 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.7683, allocations: 5.5 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.7687, allocations: 267.9 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7687, allocations: 5.125 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.7687, allocations: 5.391 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.7687, allocations: 9 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.7688, allocations: 46.33 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.7698, allocations: 379.8 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.7698, allocations: 35.17 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.7699, allocations: 21.34 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.7699, allocations: 4.125 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.7699, allocations: 36.7 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7699, allocations: 0 / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0002418/0.7701, allocations: 107.4 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.7702, allocations: 52.62 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.7703, allocations: 214.8 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.7704, allocations: 31.14 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.7704, allocations: 122 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.7704, allocations: 29.34 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.7705, allocations: 35.28 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.7705, allocations: 331.9 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.7706, allocations: 24.52 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.7706, allocations: 104.2 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.7708, allocations: 135.8 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7708, allocations: 1.188 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002155/0.771, allocations: 154.4 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.771, allocations: 7.141 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.771, allocations: 2.188 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.771, allocations: 3.969 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.7711, allocations: 29.84 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7711, allocations: 4.266 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.7712, allocations: 12.52 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7712, allocations: 11.17 kB / 1.193 GB, free: 11.79 MB / 1.076 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 9.176e-05/0.7713, allocations: 155.4 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.7714, allocations: 15.41 kB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.7716, allocations: 123.5 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7716, allocations: 1.094 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.7716, allocations: 0 / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7716, allocations: 5.594 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7717, allocations: 156.6 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7717, allocations: 0.7969 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.7718, allocations: 17.3 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7718, allocations: 0.75 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.7718, allocations: 1.375 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7718, allocations: 1.75 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7718, allocations: 4.938 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.7719, allocations: 198.3 kB / 1.194 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.772, allocations: 16.41 kB / 1.194 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.772, allocations: 1.719 kB / 1.194 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.7723, allocations: 21.58 kB / 1.194 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.7723, allocations: 5.5 kB / 1.194 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.7723, allocations: 11.28 kB / 1.194 GB, free: 11.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001192/0.7724, allocations: 162.1 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7724, allocations: 1.156 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003075/0.7727, allocations: 31.39 kB / 1.194 GB, free: 11.13 MB / 1.076 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.000192/0.7729, allocations: 134.8 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.7731, allocations: 68.23 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7731, allocations: 1.25 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.7731, allocations: 30.98 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.7734, allocations: 18.58 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.7738, allocations: 285.6 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.7739, allocations: 126 kB / 1.194 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.774, allocations: 50.42 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.7741, allocations: 29.53 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.7741, allocations: 3.938 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of Templates: time 0.00561/0.7797, allocations: 2.455 MB / 1.197 GB, free: 10.36 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.4181257491]