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.001031/0.001031, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001263/0.001263, allocations: 169 kB / 23.27 MB, free: 1.223 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.01/1.01, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.075e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002206/0.002237, allocations: 1.552 MB / 0.8912 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003481, allocations: 1.255 MB / 0.8925 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.00356, allocations: 0 / 0.8925 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.00376, allocations: 27.78 kB / 0.8925 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.003959, allocations: 39.73 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.004102, allocations: 59.84 kB / 0.8926 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.00426, allocations: 151.5 kB / 0.8927 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.004392, allocations: 41.2 kB / 0.8928 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004501, allocations: 99.8 kB / 0.8929 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.004616, allocations: 43.89 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.004645, allocations: 8 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.004707, allocations: 23.98 kB / 0.8929 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.004769, allocations: 47.83 kB / 0.893 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.004821, allocations: 51.83 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.00502, allocations: 179.4 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.005021, allocations: 3.938 kB / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005022, allocations: 0 / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005026, allocations: 0 / 0.8932 GB, free: 6.203 MB / 0.8542 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.000512/0.005538, allocations: 0.5152 MB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.005583, allocations: 12.62 kB / 0.8937 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.005637, allocations: 20.8 kB / 0.8937 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.005844, allocations: 200.8 kB / 0.8939 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.005981, allocations: 222.2 kB / 0.8941 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.006002, allocations: 8.375 kB / 0.8942 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.006184, allocations: 193.7 kB / 0.8943 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006191, allocations: 192 / 0.8943 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.006206, allocations: 8.125 kB / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.006233, allocations: 11.98 kB / 0.8944 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.006257, allocations: 11.98 kB / 0.8944 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.006779, allocations: 380 kB / 0.8947 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.006826, allocations: 39.05 kB / 0.8948 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.006847, allocations: 15.83 kB / 0.8948 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.006881, allocations: 12.73 kB / 0.8948 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.006907, allocations: 37.39 kB / 0.8948 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.006908, allocations: 4 kB / 0.8948 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001619/0.00707, allocations: 77.52 kB / 0.8949 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.007097, allocations: 55.41 kB / 0.895 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.007245, allocations: 251.7 kB / 0.8952 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.007266, allocations: 33.7 kB / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.007346, allocations: 178.9 kB / 0.8954 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.00737, allocations: 27.73 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.007411, allocations: 39.36 kB / 0.8955 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.007559, allocations: 0.5079 MB / 0.896 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.007576, allocations: 4 kB / 0.896 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.007645, allocations: 120 kB / 0.8961 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.007752, allocations: 152 kB / 0.8962 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007754, allocations: 0 / 0.8962 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001437/0.007898, allocations: 121.4 kB / 0.8963 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.007912, allocations: 11.94 kB / 0.8964 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007918, allocations: 0 / 0.8964 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007931, allocations: 4 kB / 0.8964 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.007994, allocations: 23.98 kB / 0.8964 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008001, allocations: 4 kB / 0.8964 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.008037, allocations: 11.89 kB / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.008047, allocations: 11.94 kB / 0.8964 GB, free: 2.555 MB / 0.8542 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 8.668e-05/0.008134, allocations: 168.9 kB / 0.8966 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.008167, allocations: 19.91 kB / 0.8966 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.008299, allocations: 91.05 kB / 0.8967 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008302, allocations: 3.984 kB / 0.8967 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008305, allocations: 0 / 0.8967 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.008309, allocations: 4 kB / 0.8967 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.008446, allocations: 137.1 kB / 0.8968 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008447, allocations: 0 / 0.8968 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.008478, allocations: 19.94 kB / 0.8968 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00848, allocations: 0 / 0.8968 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.008487, allocations: 7.984 kB / 0.8968 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008488, allocations: 4 kB / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.008489, allocations: 400 / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.00863, allocations: 231.8 kB / 0.8971 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.008648, allocations: 15.84 kB / 0.8971 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.008658, allocations: 0 / 0.8971 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.008744, allocations: 11.98 kB / 0.8971 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.008757, allocations: 3.984 kB / 0.8971 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.008774, allocations: 15.98 kB / 0.8971 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.507e-05/0.008849, allocations: 172.4 kB / 0.8973 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008849, allocations: 0 / 0.8973 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002046/0.009054, allocations: 35.95 kB / 0.8973 GB, free: 1.562 MB / 0.8542 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.0001895/0.009243, allocations: 126.6 kB / 0.8974 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.00935, allocations: 60.22 kB / 0.8975 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.009353, allocations: 3.984 kB / 0.8975 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.009373, allocations: 19.69 kB / 0.8975 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.00959, allocations: 27.97 kB / 0.8975 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.009948, allocations: 270.7 kB / 0.8978 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.009995, allocations: 71.33 kB / 0.8979 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.01006, allocations: 40.83 kB / 0.8979 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.01024, allocations: 150 kB / 0.898 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.01024, allocations: 64 / 0.898 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of Templates: time 0.004568/0.01481, allocations: 2.718 MB / 0.9007 GB, free: 14.08 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.573693442158401]