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.001133/0.001133, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.002073/0.002073, allocations: 169.3 kB / 24.28 MB, free: 280 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.9525/0.9525, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.705/1.705, allocations: 359 MB / 0.6055 GB, free: 10.99 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 2.314e-06/2.314e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.886e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001843/0.001862, allocations: 1.417 MB / 0.7885 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.001988, allocations: 44.94 kB / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.002034, allocations: 0 / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.002202, allocations: 19.84 kB / 0.7885 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002318, allocations: 12.91 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.002322, allocations: 0 / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.002392, allocations: 15.92 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.002432, allocations: 4.562 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.002482, allocations: 15.92 kB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.002535, allocations: 4.688 kB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002556, allocations: 0.9062 kB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.002603, allocations: 11.98 kB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.002646, allocations: 11.92 kB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.002666, allocations: 4.656 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.00277, allocations: 19.92 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002772, allocations: 5.156 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002773, allocations: 0 / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.002777, allocations: 0 / 0.7886 GB, free: 11.23 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.0002959/0.003073, allocations: 366.1 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.00311, allocations: 8.031 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.003151, allocations: 8.938 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.003311, allocations: 137.2 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003321, allocations: 7.781 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.003331, allocations: 4.359 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.003405, allocations: 30.27 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.003412, allocations: 192 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.00342, allocations: 384 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.003451, allocations: 384 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.003466, allocations: 7.938 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.003577, allocations: 112.7 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.003612, allocations: 31 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.00363, allocations: 12.47 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.003647, allocations: 1.656 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.003668, allocations: 33.39 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.003669, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.003794, allocations: 37.69 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.003824, allocations: 51.97 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.004007, allocations: 186.6 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.004017, allocations: 25.7 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.004051, allocations: 131.8 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.004072, allocations: 4 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.004099, allocations: 19.38 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.004206, allocations: 497.1 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.004216, allocations: 4 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.004222, allocations: 1.359 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.004249, allocations: 15.69 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004251, allocations: 0 / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.99e-05/0.004291, allocations: 34.52 kB / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.004304, allocations: 8 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004308, allocations: 1.062 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.004321, allocations: 0 / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.004373, allocations: 7.922 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.004378, allocations: 1 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.00439, allocations: 7.938 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.004395, allocations: 1.594 kB / 0.7903 GB, free: 9.277 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.527e-05/0.00445, allocations: 152.6 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.004457, allocations: 7.953 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.004526, allocations: 45.62 kB / 0.7905 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004528, allocations: 0 / 0.7905 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.004531, allocations: 0.6875 kB / 0.7905 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.004535, allocations: 3.938 kB / 0.7905 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.938e-05/0.004595, allocations: 121.2 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004595, allocations: 0.7188 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-06/0.004602, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.004603, allocations: 0.9688 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.004609, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00461, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.004612, allocations: 8.531 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.86e-05/0.004661, allocations: 77.72 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.004672, allocations: 7.938 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-06/0.00468, allocations: 0 / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-06/0.004685, allocations: 1.219 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.004698, allocations: 0 / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.0047, allocations: 4 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.00474, allocations: 135.2 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00474, allocations: 0.8125 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001218/0.004861, allocations: 7.938 kB / 0.7909 GB, free: 8.648 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.0001752/0.005037, allocations: 117.2 kB / 0.791 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.83e-05/0.005115, allocations: 20.47 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005116, allocations: 2.219 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.005124, allocations: 15.61 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.00523, allocations: 4 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.005477, allocations: 114.3 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.005509, allocations: 58.39 kB / 0.7912 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.005531, allocations: 7.984 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.005549, allocations: 8.5 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/0.00555, allocations: 0 / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.002063/0.007613, allocations: 0.528 MB / 0.7917 GB, free: 7.754 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.970337269129232]