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.0009677/0.0009677, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009912/0.0009912, allocations: 161 kB / 23.82 MB, free: 0.7422 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 0.9865/0.9865, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11.03 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.593e-06/1.593e-06, allocations: 0 / 0.7871 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.829e-05, allocations: 3.625 kB / 0.7871 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.005147/0.005165, allocations: 1.445 MB / 0.7885 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.005303, allocations: 39.83 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.00534, allocations: 0 / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.005505, allocations: 14.31 kB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.005607, allocations: 15.86 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.00561, allocations: 0 / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.005674, allocations: 19.92 kB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.005709, allocations: 8 kB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.00575, allocations: 4 kB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.005802, allocations: 13.69 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.005818, allocations: 4 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.005862, allocations: 12 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.005897, allocations: 0 / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.005915, allocations: 8 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.006016, allocations: 32.42 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.006018, allocations: 0 / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006019, allocations: 1.375 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.006022, allocations: 0 / 0.7886 GB, free: 10.95 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.0002885/0.006311, allocations: 360.5 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.006349, allocations: 9.188 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.006382, allocations: 4.875 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.006521, allocations: 137.3 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.006531, allocations: 384 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.006541, allocations: 1.188 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.697e-05/0.006608, allocations: 31.17 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006616, allocations: 4.125 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.006623, allocations: 384 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.006652, allocations: 6.953 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.17e-05/0.006663, allocations: 3.938 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.006775, allocations: 116.7 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.224e-05/0.006817, allocations: 31 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.006832, allocations: 7.688 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.00685, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.006873, allocations: 41.98 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.006873, allocations: 0 / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.006979, allocations: 34.41 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.007004, allocations: 59.88 kB / 0.7894 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.01012, allocations: 183.5 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.01013, allocations: 25.7 kB / 0.7896 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.01017, allocations: 130.9 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.01019, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.01021, allocations: 19.38 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01032, allocations: 0.4889 MB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.01033, allocations: 0.5938 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.01034, allocations: 4.797 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.19e-05/0.01036, allocations: 8.844 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01036, allocations: 0 / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.034e-05/0.01041, allocations: 37.64 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.01042, allocations: 7.406 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01043, allocations: 0 / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01044, allocations: 4 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.01049, allocations: 0 / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01049, allocations: 1.75 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.01051, allocations: 7.922 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01051, allocations: 4 kB / 0.7903 GB, free: 9.004 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.789e-05/0.01057, allocations: 156.6 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.01058, allocations: 5.234 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.01065, allocations: 41.11 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.01065, allocations: 3.984 kB / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01065, allocations: 0.8438 kB / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01066, allocations: 7.938 kB / 0.7905 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.35e-05/0.01072, allocations: 117.8 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.01072, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.01073, allocations: 11.92 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.01073, allocations: 1.312 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.01074, allocations: 0 / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.01074, allocations: 0 / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01074, allocations: 0 / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.62e-05/0.01079, allocations: 78 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.0108, allocations: 7.953 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.01081, allocations: 3.984 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.01082, allocations: 2.75 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.01083, allocations: 0 / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.01083, allocations: 0 / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.01088, allocations: 131.2 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 4 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000189/0.01107, allocations: 7.922 kB / 0.7909 GB, free: 8.371 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.0001738/0.01124, allocations: 114.1 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.254e-05/0.01131, allocations: 15.62 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01131, allocations: 0 / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.01132, allocations: 11.69 kB / 0.791 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.01147, allocations: 12.83 kB / 0.791 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.01172, allocations: 103.2 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.01176, allocations: 63.34 kB / 0.7912 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.01178, allocations: 4.719 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.0118, allocations: 8.5 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.0118, allocations: 2.906 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.005504/0.01731, allocations: 0.5326 MB / 0.7917 GB, free: 7.473 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: 5.03548444295302]