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.001327/0.001327, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001413/0.001413, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9036/0.9036, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.687/1.687, allocations: 359 MB / 0.6052 GB, free: 11 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.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.618e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001791/0.001807, allocations: 1.441 MB / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001147/0.001922, allocations: 44.97 kB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.001957, allocations: 0 / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.002114, allocations: 15.88 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.002219, allocations: 16.55 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.002221, allocations: 1.344 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.002278, allocations: 11.94 kB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.002312, allocations: 7.984 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.002354, allocations: 11.98 kB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.002401, allocations: 13.39 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.002417, allocations: 0 / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.901e-05/0.002456, allocations: 12 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.002488, allocations: 0 / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002504, allocations: 11.25 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.084e-05/0.002595, allocations: 23.84 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002597, allocations: 0 / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002598, allocations: 0 / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.002601, allocations: 4 kB / 0.7886 GB, free: 10.93 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.0002433/0.002844, allocations: 360.5 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.002876, allocations: 8.031 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.002905, allocations: 0.9375 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.00302, allocations: 137.3 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.003027, allocations: 1.344 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.003034, allocations: 384 / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.0031, allocations: 38.78 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.003104, allocations: 1.688 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.003111, allocations: 384 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.003133, allocations: 4.312 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.003145, allocations: 7.938 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.003251, allocations: 117.3 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.75e-05/0.003288, allocations: 23.06 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.003304, allocations: 8.656 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.00332, allocations: 4.062 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.003339, allocations: 38.08 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.00334, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.003448, allocations: 34.3 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.003478, allocations: 56.75 kB / 0.7894 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.003558, allocations: 181.8 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.003567, allocations: 25.7 kB / 0.7896 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.003603, allocations: 136.4 kB / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.00362, allocations: 0 / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.003643, allocations: 19.38 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.003746, allocations: 496.1 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.003755, allocations: 4 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.003759, allocations: 1.547 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.003781, allocations: 15.62 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.003783, allocations: 4.484 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.347e-05/0.003817, allocations: 30.27 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003829, allocations: 4 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.003833, allocations: 5.531 kB / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.003843, allocations: 0 / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.003886, allocations: 0 / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.003891, allocations: 0 / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.003901, allocations: 4.469 kB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.003908, allocations: 6.062 kB / 0.7903 GB, free: 8.996 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.481e-05/0.003963, allocations: 156.6 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.003972, allocations: 7.938 kB / 0.7905 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.004032, allocations: 49.05 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004033, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.004035, allocations: 0.5312 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.00404, allocations: 8.641 kB / 0.7905 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.175e-05/0.004102, allocations: 116.6 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004102, allocations: 1.062 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.004111, allocations: 7.938 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.004112, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.004116, allocations: 0.875 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004117, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004118, allocations: 0.8438 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.955e-05/0.004167, allocations: 84.33 kB / 0.7907 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.004177, allocations: 10.08 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004185, allocations: 0 / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-06/0.004189, allocations: 0 / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.004201, allocations: 0 / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.004204, allocations: 3.984 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.004244, allocations: 135.2 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004244, allocations: 0.5 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001194/0.004364, allocations: 10.53 kB / 0.7909 GB, free: 8.352 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.0001435/0.004507, allocations: 112.9 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.054e-05/0.004558, allocations: 9.375 kB / 0.791 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.00456, allocations: 4 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.004568, allocations: 11.62 kB / 0.791 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.546e-05/0.004663, allocations: 7 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.004861, allocations: 110.3 kB / 0.7911 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.004899, allocations: 64.5 kB / 0.7912 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.004916, allocations: 4 kB / 0.7912 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.004933, allocations: 8.5 kB / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.004933, allocations: 1.656 kB / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.001833/0.006766, allocations: 0.5583 MB / 0.7918 GB, free: 7.426 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.6593819740228355]