Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.0009949/0.0009949, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002289, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009568/0.0009568, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002346, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9946/0.9946, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.902/1.902, allocations: 390.1 MB / 0.6194 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5727/2.475, allocations: 127.1 MB / 0.7435 GB, free: 4.52 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.168e-06/4.168e-06, allocations: 3.984 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.508e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002553/0.002588, allocations: 1.519 MB / 0.7463 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.003258, allocations: 474.6 kB / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.003313, allocations: 0 / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-05/0.003393, allocations: 7.922 kB / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.003466, allocations: 14.94 kB / 0.7467 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.004169, allocations: 225.3 kB / 0.7469 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.004417, allocations: 150.7 kB / 0.7471 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.004484, allocations: 12.58 kB / 0.7471 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.004628, allocations: 78.67 kB / 0.7472 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.004724, allocations: 39.56 kB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.004752, allocations: 8 kB / 0.7472 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.005106, allocations: 198.2 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.005175, allocations: 29.03 kB / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.005237, allocations: 27.94 kB / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.005558, allocations: 203.4 kB / 0.7477 GB, free: 340 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.839e-05/0.005576, allocations: 0 / 0.7477 GB, free: 340 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005577, allocations: 0 / 0.7477 GB, free: 340 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.005592, allocations: 0 / 0.7477 GB, free: 340 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006431/0.006236, allocations: 380.6 kB / 0.748 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.006288, allocations: 13.69 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.006352, allocations: 16.92 kB / 0.7481 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.006568, allocations: 149.4 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.006582, allocations: 4.375 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.006608, allocations: 18.97 kB / 0.7482 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006728, allocations: 54.78 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006738, allocations: 192 / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.006749, allocations: 384 / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.006756, allocations: 4.375 kB / 0.7483 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.006799, allocations: 29.52 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.00695, allocations: 99.47 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.007034, allocations: 55.36 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.007069, allocations: 25.8 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.007078, allocations: 0.8438 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.007236, allocations: 96.48 kB / 0.7486 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.007237, allocations: 0 / 0.7486 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002085/0.007446, allocations: 91.95 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.007509, allocations: 89.05 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007624, allocations: 145.7 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.007649, allocations: 33.7 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.007694, allocations: 92.5 kB / 0.749 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.007743, allocations: 39.67 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.007811, allocations: 50.81 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.007929, allocations: 334.7 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.007953, allocations: 10.83 kB / 0.7494 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.008248, allocations: 0.5432 MB / 0.7499 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.008336, allocations: 75.12 kB / 0.75 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008339, allocations: 4.75 kB / 0.75 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000124/0.008463, allocations: 91.25 kB / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.008481, allocations: 4.656 kB / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.008509, allocations: 4 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.008525, allocations: 0.625 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.008622, allocations: 19.98 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.00863, allocations: 9.062 kB / 0.7501 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.008756, allocations: 36.55 kB / 0.7502 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008765, allocations: 9.719 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001034/0.008869, allocations: 128.7 kB / 0.7503 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.008888, allocations: 4 kB / 0.7503 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.00892, allocations: 21.52 kB / 0.7503 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008923, allocations: 0 / 0.7503 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.008929, allocations: 8.5 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.008936, allocations: 3.938 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.009037, allocations: 86.56 kB / 0.7504 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009038, allocations: 0 / 0.7504 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.009068, allocations: 11 kB / 0.7504 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.009085, allocations: 15.89 kB / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009087, allocations: 0 / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.009096, allocations: 4 kB / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009098, allocations: 0 / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0091, allocations: 0 / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.009251, allocations: 114.3 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.009271, allocations: 4 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.009303, allocations: 10.73 kB / 0.7506 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.00935, allocations: 0 / 0.7506 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.009359, allocations: 4 kB / 0.7506 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.009399, allocations: 34.88 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009399, allocations: 0 / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002942/0.009693, allocations: 75.81 kB / 0.7507 GB, free: 12.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003078/0.01, allocations: 162.1 kB / 0.7508 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01026, allocations: 120.1 kB / 0.751 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/0.01028, allocations: 7.984 kB / 0.751 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.01033, allocations: 28.78 kB / 0.751 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01047, allocations: 19.92 kB / 0.751 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.01119, allocations: 214.5 kB / 0.7512 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.01125, allocations: 63.34 kB / 0.7513 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.01131, allocations: 13.38 kB / 0.7513 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01143, allocations: 76.3 kB / 0.7514 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.01143, allocations: 0 / 0.7514 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.006694/0.01812, allocations: 3.137 MB / 0.7544 GB, free: 9.125 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.107075601816177]