Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009658/0.0009658, allocations: 81.86 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.0009574/0.0009574, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9452/0.9452, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.545/2.545, allocations: 438.1 MB / 0.682 GB, free: 14.19 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.734e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002224/0.002252, allocations: 1.435 MB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/0.002403, allocations: 47.8 kB / 0.8912 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.002464, allocations: 0 / 0.8912 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.002645, allocations: 11.88 kB / 0.8912 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.002757, allocations: 15.92 kB / 0.8912 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.00276, allocations: 4 kB / 0.8912 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.002827, allocations: 15.92 kB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.002869, allocations: 7.984 kB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.002926, allocations: 11.94 kB / 0.8912 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.002981, allocations: 7.984 kB / 0.8912 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.002998, allocations: 0 / 0.8912 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.003042, allocations: 12 kB / 0.8912 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.00308, allocations: 3.938 kB / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.003103, allocations: 4 kB / 0.8913 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003207, allocations: 23.91 kB / 0.8913 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00321, allocations: 0 / 0.8913 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00321, allocations: 4 kB / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003214, allocations: 0 / 0.8913 GB, free: 8.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002837/0.003498, allocations: 380.3 kB / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.003541, allocations: 8.625 kB / 0.8916 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.003568, allocations: 0.9375 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.00371, allocations: 124.6 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.003718, allocations: 384 / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.003724, allocations: 384 / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.003796, allocations: 30.27 kB / 0.8918 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003805, allocations: 192 / 0.8918 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.003812, allocations: 4.375 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.003839, allocations: 4.359 kB / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.122e-05/0.003851, allocations: 7.938 kB / 0.8918 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.003958, allocations: 93.25 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.565e-05/0.003994, allocations: 31.03 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.004008, allocations: 11.69 kB / 0.8919 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.004031, allocations: 4 kB / 0.8919 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.004061, allocations: 37.45 kB / 0.892 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.004062, allocations: 0 / 0.892 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.004172, allocations: 41.62 kB / 0.892 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.004199, allocations: 51.41 kB / 0.8921 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.004278, allocations: 169.9 kB / 0.8922 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004287, allocations: 25.7 kB / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.00433, allocations: 130.9 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.004351, allocations: 7.953 kB / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.004374, allocations: 15.38 kB / 0.8924 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.004496, allocations: 0.4961 MB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.004503, allocations: 0 / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.004509, allocations: 3.938 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/0.004529, allocations: 15.88 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004531, allocations: 0 / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.164e-05/0.004572, allocations: 33.64 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004584, allocations: 8 kB / 0.8929 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004589, allocations: 0 / 0.8929 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.004601, allocations: 0 / 0.8929 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.004648, allocations: 3.984 kB / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004651, allocations: 0 / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.00466, allocations: 4 kB / 0.893 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.004666, allocations: 3.938 kB / 0.893 GB, free: 6.266 MB / 0.8542 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 6.732e-05/0.004733, allocations: 160.6 kB / 0.8931 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.00474, allocations: 7.953 kB / 0.8931 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.004805, allocations: 37.16 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004806, allocations: 0 / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004807, allocations: 0 / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00481, allocations: 0 / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.338e-05/0.004874, allocations: 97.2 kB / 0.8932 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004874, allocations: 3.938 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-06/0.004881, allocations: 4 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.004884, allocations: 3.984 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.004887, allocations: 4.031 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.004889, allocations: 3.984 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.00489, allocations: 0 / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.012e-05/0.00494, allocations: 72.39 kB / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.004951, allocations: 11.94 kB / 0.8933 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.004962, allocations: 0 / 0.8933 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-06/0.004968, allocations: 0 / 0.8933 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.004978, allocations: 3.984 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.004979, allocations: 0 / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.005014, allocations: 127.2 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.005014, allocations: 4.031 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001118/0.005126, allocations: 4 kB / 0.8935 GB, free: 5.66 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 (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.0001577/0.005284, allocations: 123.5 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.005407, allocations: 19.67 kB / 0.8936 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.005408, allocations: 4 kB / 0.8936 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.005416, allocations: 11.75 kB / 0.8936 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.839e-05/0.005514, allocations: 7.938 kB / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.005709, allocations: 106.4 kB / 0.8937 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.005761, allocations: 59.34 kB / 0.8938 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.005774, allocations: 0 / 0.8938 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.005808, allocations: 70.2 kB / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.005809, allocations: 0 / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.001971/0.007779, allocations: 0.5603 MB / 0.8944 GB, free: 4.641 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.547077578026801]