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.000901/0.000901, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009103/0.0009103, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9219/0.9219, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.733/1.733, allocations: 359 MB / 0.6063 GB, free: 10.92 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.733e-06/1.733e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.551e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002839/0.002864, allocations: 1.437 MB / 0.7897 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.003043, allocations: 35.89 kB / 0.7897 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.003099, allocations: 4.688 kB / 0.7897 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.003288, allocations: 15.86 kB / 0.7897 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003409, allocations: 12.55 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.003412, allocations: 1.25 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.003486, allocations: 19.92 kB / 0.7898 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.003525, allocations: 3.938 kB / 0.7898 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.00358, allocations: 13.56 kB / 0.7898 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.003639, allocations: 7.984 kB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003657, allocations: 0 / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.003705, allocations: 8 kB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.003748, allocations: 11.92 kB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.003763, allocations: 5.219 kB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003867, allocations: 23.92 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.003871, allocations: 3.984 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003872, allocations: 0.625 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003876, allocations: 0 / 0.7898 GB, free: 10.68 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.0003095/0.004186, allocations: 365.9 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.004227, allocations: 8.031 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.004258, allocations: 4.938 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.0044, allocations: 130.1 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.00441, allocations: 384 / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004418, allocations: 4.359 kB / 0.7903 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.946e-05/0.004488, allocations: 34.81 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004495, allocations: 0.875 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004501, allocations: 384 / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.004526, allocations: 5.219 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.004541, allocations: 7.938 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.004653, allocations: 97.94 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.449e-05/0.004698, allocations: 32.7 kB / 0.7905 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.004714, allocations: 7.688 kB / 0.7905 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.004729, allocations: 64 / 0.7905 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.004751, allocations: 37.39 kB / 0.7905 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.004752, allocations: 0 / 0.7905 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.004859, allocations: 35.23 kB / 0.7906 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004893, allocations: 55.41 kB / 0.7906 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.004989, allocations: 169.9 kB / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.005003, allocations: 26.45 kB / 0.7908 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.00505, allocations: 138.9 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.005072, allocations: 3.406 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.005104, allocations: 23.36 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.005237, allocations: 496.1 kB / 0.7915 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.005244, allocations: 0 / 0.7915 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-06/0.005251, allocations: 3.953 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.005274, allocations: 15.62 kB / 0.7915 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005276, allocations: 0 / 0.7915 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.411e-05/0.00534, allocations: 37.69 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005352, allocations: 4.719 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005357, allocations: 0.5312 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005367, allocations: 4 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.005409, allocations: 8.875 kB / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005412, allocations: 0 / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.005425, allocations: 0.8125 kB / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.005431, allocations: 3.938 kB / 0.7915 GB, free: 8.766 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 7.295e-05/0.005504, allocations: 157.1 kB / 0.7917 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.005515, allocations: 5.328 kB / 0.7917 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.005588, allocations: 41.09 kB / 0.7917 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005591, allocations: 4 kB / 0.7917 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.005593, allocations: 1.156 kB / 0.7917 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005595, allocations: 0 / 0.7917 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.121e-05/0.005676, allocations: 105.2 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005677, allocations: 0.7812 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.005692, allocations: 4 kB / 0.7918 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.005695, allocations: 0.5938 kB / 0.7918 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005698, allocations: 0 / 0.7918 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.0057, allocations: 5.375 kB / 0.7918 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005701, allocations: 0 / 0.7918 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.005767, allocations: 80.33 kB / 0.7919 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.005778, allocations: 4.516 kB / 0.7919 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-06/0.005787, allocations: 0 / 0.7919 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.005796, allocations: 1.344 kB / 0.7919 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.005808, allocations: 4 kB / 0.7919 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005811, allocations: 0 / 0.7919 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.005865, allocations: 138.9 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.005865, allocations: 0 / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002041/0.006069, allocations: 4 kB / 0.7921 GB, free: 8.168 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.000177/0.006246, allocations: 118.4 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.006308, allocations: 12.58 kB / 0.7922 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00631, allocations: 4 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.006321, allocations: 8.188 kB / 0.7922 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.006464, allocations: 8.5 kB / 0.7922 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.006682, allocations: 117.6 kB / 0.7923 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.006717, allocations: 60.67 kB / 0.7924 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.006734, allocations: 0 / 0.7924 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.00677, allocations: 74.19 kB / 0.7924 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.006771, allocations: 0.625 kB / 0.7924 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.002465/0.009236, allocations: 0.5662 MB / 0.793 GB, free: 7.18 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.753099281806499]