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.0009449/0.0009449, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009452/0.0009452, allocations: 181 kB / 24.09 MB, free: 416 kB / 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 0.9927/0.9927, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794/1.794, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.396e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001925/0.001949, allocations: 1.418 MB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.002051, allocations: 40.52 kB / 0.789 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.002077, allocations: 0 / 0.789 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.002163, allocations: 20.7 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.002223, allocations: 15.92 kB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 1.723e-06/0.002225, allocations: 0.6562 kB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.287e-05/0.002258, allocations: 19.92 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 1.601e-05/0.002274, allocations: 0.5625 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.002299, allocations: 11.92 kB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.927e-05/0.002329, allocations: 11.44 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.002337, allocations: 0 / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.002373, allocations: 8 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.002403, allocations: 4 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.002421, allocations: 15.91 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002517, allocations: 23.92 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002519, allocations: 0 / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.81e-07/0.00252, allocations: 3.938 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002523, allocations: 0 / 0.7891 GB, free: 10.63 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.0002819/0.002805, allocations: 365.2 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.002843, allocations: 8.031 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.002867, allocations: 6.594 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.002972, allocations: 133.3 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.00298, allocations: 384 / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-06/0.002985, allocations: 384 / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.567e-05/0.003041, allocations: 31.61 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.003048, allocations: 192 / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.003053, allocations: 384 / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.003075, allocations: 384 / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.032e-05/0.003086, allocations: 9.531 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.959e-05/0.003175, allocations: 105.2 kB / 0.7897 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.738e-05/0.003203, allocations: 23.06 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.003215, allocations: 12.94 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.003235, allocations: 4.062 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.003259, allocations: 33.39 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.00326, allocations: 0 / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.002e-05/0.00335, allocations: 34.98 kB / 0.7898 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.003374, allocations: 55.41 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.003494, allocations: 178.4 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.003502, allocations: 29.7 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.003538, allocations: 131.4 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.003555, allocations: 0.875 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.003573, allocations: 19.38 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.003676, allocations: 0.4883 MB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.003681, allocations: 0.8125 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.003689, allocations: 12.53 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.519e-05/0.003705, allocations: 9.062 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003706, allocations: 0 / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.612e-05/0.003742, allocations: 37.64 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.003752, allocations: 5.219 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003755, allocations: 0 / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.003767, allocations: 0 / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.314e-05/0.003801, allocations: 8.594 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.003803, allocations: 0 / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-06/0.003811, allocations: 0.7188 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.003816, allocations: 3.938 kB / 0.7908 GB, free: 8.723 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 5.801e-05/0.003874, allocations: 165.8 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-06/0.003879, allocations: 3.953 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.003937, allocations: 37.92 kB / 0.791 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-07/0.003937, allocations: 0 / 0.791 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.003939, allocations: 5.156 kB / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.003942, allocations: 0 / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.591e-05/0.003998, allocations: 109.2 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.003999, allocations: 0 / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.004005, allocations: 0.9688 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004006, allocations: 0 / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.004009, allocations: 6.25 kB / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.004009, allocations: 0 / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00401, allocations: 0 / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.004058, allocations: 80.39 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.004065, allocations: 3.953 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-06/0.004073, allocations: 0 / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-06/0.004079, allocations: 7.25 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.004089, allocations: 0 / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004091, allocations: 0 / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.004131, allocations: 131.2 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004131, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001103/0.004242, allocations: 7.938 kB / 0.7913 GB, free: 8.121 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.000174/0.004416, allocations: 122 kB / 0.7914 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.004473, allocations: 16.75 kB / 0.7914 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.004476, allocations: 4 kB / 0.7914 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.004483, allocations: 8.25 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.819e-05/0.004581, allocations: 9.062 kB / 0.7915 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.004783, allocations: 114.3 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.004809, allocations: 60.09 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.004823, allocations: 7.938 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.004935, allocations: 67.02 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.004935, allocations: 0 / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.001925/0.00686, allocations: 0.5756 MB / 0.7923 GB, free: 7.109 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.794954353012145]