Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001851/0.001851, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002043/0.002043, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.87/2.87, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.656e-05, allocations: 3.719 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00292/0.002946, allocations: 1.524 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.004763, allocations: 1.233 MB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.004813, allocations: 3.938 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.004981, allocations: 21.25 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.005184, allocations: 47.66 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.005351, allocations: 48.95 kB / 0.7892 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.005574, allocations: 156.7 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.005709, allocations: 37.27 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.00586, allocations: 107.8 kB / 0.7895 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006012, allocations: 45.31 kB / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.006065, allocations: 12 kB / 0.7895 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.006146, allocations: 27.94 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.006235, allocations: 47.83 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.006315, allocations: 48.98 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.006648, allocations: 223.3 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00665, allocations: 0 / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.006651, allocations: 0.9375 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006655, allocations: 0 / 0.7898 GB, free: 9.258 MB / 0.7448 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.0007805/0.007435, allocations: 0.5121 MB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.007469, allocations: 12.03 kB / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.007554, allocations: 24.78 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.007905, allocations: 197.8 kB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.008125, allocations: 214.2 kB / 0.7908 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.008157, allocations: 12.36 kB / 0.7908 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.008539, allocations: 234.2 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008548, allocations: 192 / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.008578, allocations: 12.11 kB / 0.791 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.008606, allocations: 14.95 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.008681, allocations: 23.98 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.009688, allocations: 431.4 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.009777, allocations: 39.05 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.009823, allocations: 24.34 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.009849, allocations: 0 / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.0099, allocations: 43.03 kB / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.0099, allocations: 0 / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000303/0.0102, allocations: 89.73 kB / 0.7916 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.01025, allocations: 55.41 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.01056, allocations: 288.5 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.01059, allocations: 29.7 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01073, allocations: 178.9 kB / 0.7922 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.01077, allocations: 31.73 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.01083, allocations: 35.38 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003373/0.01117, allocations: 0.5129 MB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.01123, allocations: 23.92 kB / 0.7928 GB, free: 6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.01137, allocations: 120.2 kB / 0.7929 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.01159, allocations: 168.4 kB / 0.793 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0116, allocations: 0 / 0.793 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002705/0.01187, allocations: 148.5 kB / 0.7932 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01188, allocations: 8 kB / 0.7932 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01189, allocations: 1.156 kB / 0.7932 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.0119, allocations: 7.938 kB / 0.7932 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01201, allocations: 27.92 kB / 0.7932 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01201, allocations: 5.125 kB / 0.7932 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.01208, allocations: 11.89 kB / 0.7932 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01209, allocations: 8 kB / 0.7932 GB, free: 5.406 MB / 0.7448 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.0001542/0.01225, allocations: 185.3 kB / 0.7934 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.01231, allocations: 19.84 kB / 0.7934 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.01254, allocations: 112.1 kB / 0.7935 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01254, allocations: 0 / 0.7935 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01254, allocations: 1.344 kB / 0.7936 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01255, allocations: 0 / 0.7936 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.0128, allocations: 184.5 kB / 0.7937 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0128, allocations: 0 / 0.7937 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.01286, allocations: 16.86 kB / 0.7937 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01287, allocations: 0 / 0.7937 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.01287, allocations: 6.062 kB / 0.7937 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01288, allocations: 0 / 0.7937 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01288, allocations: 4 kB / 0.7938 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.01314, allocations: 235.7 kB / 0.794 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.01317, allocations: 15.91 kB / 0.794 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01319, allocations: 4 kB / 0.794 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.01338, allocations: 8.641 kB / 0.794 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.01341, allocations: 7.438 kB / 0.794 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.01344, allocations: 19.97 kB / 0.794 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003046/0.01375, allocations: 197.4 kB / 0.7942 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01375, allocations: 0 / 0.7942 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002952/0.01404, allocations: 31.98 kB / 0.7942 GB, free: 4.324 MB / 0.7448 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.0003075/0.01435, allocations: 114.4 kB / 0.7944 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.01453, allocations: 77.7 kB / 0.7944 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01453, allocations: 0 / 0.7944 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.01458, allocations: 32.27 kB / 0.7945 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.0149, allocations: 43 kB / 0.7945 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.01541, allocations: 273.2 kB / 0.7948 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.01554, allocations: 122.2 kB / 0.7949 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.01567, allocations: 44.83 kB / 0.7949 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.01571, allocations: 27.39 kB / 0.7949 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01571, allocations: 0 / 0.7949 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.006348/0.02206, allocations: 2.465 MB / 0.7974 GB, free: 1.133 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.861561023979448]