Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.002664/0.002664, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002811/0.002811, allocations: 157.7 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.89/2.89, allocations: 359 MB / 0.6048 GB, free: 10.94 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.843e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002743/0.002772, allocations: 1.402 MB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.002933, allocations: 42.05 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.00297, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.003125, allocations: 19.86 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.00323, allocations: 15.92 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.003234, allocations: 0 / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/0.003296, allocations: 15.92 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.86e-05/0.003325, allocations: 5.062 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.003378, allocations: 11.92 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.003429, allocations: 8 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.003444, allocations: 1.312 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.003489, allocations: 11.94 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.003535, allocations: 11.92 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003555, allocations: 6.031 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003673, allocations: 31.89 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003675, allocations: 0 / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003676, allocations: 0 / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003679, allocations: 0 / 0.7879 GB, free: 11.26 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004196/0.004099, allocations: 360.2 kB / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.004136, allocations: 14.22 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.004173, allocations: 0.9375 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.004348, allocations: 124.5 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004359, allocations: 4.375 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.004368, allocations: 4.359 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/0.004442, allocations: 26.77 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00445, allocations: 1.75 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.004457, allocations: 4.375 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.004477, allocations: 384 / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.004502, allocations: 7.875 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.004676, allocations: 124.7 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.004735, allocations: 24.81 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.004755, allocations: 7.688 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.004774, allocations: 8.062 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.004809, allocations: 33.39 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.00481, allocations: 0.9062 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.004946, allocations: 38.27 kB / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.004996, allocations: 55.39 kB / 0.7887 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.005164, allocations: 187.8 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.005182, allocations: 25.7 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.005259, allocations: 130.9 kB / 0.789 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.005278, allocations: 3.953 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.005316, allocations: 19.38 kB / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003714/0.005688, allocations: 0.4908 MB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.0057, allocations: 3.984 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.005707, allocations: 3.953 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.005737, allocations: 15.69 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005738, allocations: 3.938 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.89e-05/0.005807, allocations: 34.42 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.00582, allocations: 4 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005826, allocations: 4.516 kB / 0.7896 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005838, allocations: 1.656 kB / 0.7896 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.005881, allocations: 4 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005885, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.005899, allocations: 3.938 kB / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005904, allocations: 0 / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001114/0.006015, allocations: 161.2 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.006027, allocations: 5.141 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/0.006121, allocations: 49.05 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006122, allocations: 1.156 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.006125, allocations: 0 / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.006132, allocations: 7.922 kB / 0.7898 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006237, allocations: 112.6 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006237, allocations: 1.375 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.006253, allocations: 4 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.006257, allocations: 3.984 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006262, allocations: 0.875 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006263, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006263, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006364, allocations: 81.25 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.006384, allocations: 5.234 kB / 0.79 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.006395, allocations: 0 / 0.79 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.006409, allocations: 7.922 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.006423, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.00643, allocations: 8.812 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.052e-05/0.00652, allocations: 131.2 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.006521, allocations: 0.875 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001827/0.006703, allocations: 11.92 kB / 0.7902 GB, free: 8.672 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 (1): * Single equations (assignments): 1 * 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.0002302/0.006933, allocations: 119.3 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.007012, allocations: 15.69 kB / 0.7903 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.007013, allocations: 3.188 kB / 0.7903 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.00703, allocations: 11.69 kB / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.007159, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.007452, allocations: 118.2 kB / 0.7904 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.007515, allocations: 63.34 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.007542, allocations: 7.984 kB / 0.7905 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.007562, allocations: 9 kB / 0.7905 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.007562, allocations: 0 / 0.7905 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.00313/0.01069, allocations: 0.5348 MB / 0.791 GB, free: 7.766 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.845685617998242]