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.001392/0.001392, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.00378/0.00378, allocations: 160.4 kB / 24.38 MB, free: 9.109 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.9572/0.9572, allocations: 177.1 MB / 204.8 MB, free: 5.363 MB / 186.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.881/1.881, allocations: 389.6 MB / 0.6356 GB, free: 12.19 MB / 0.6042 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 1.293e-06/1.293e-06, allocations: 0 / 0.7755 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.415e-05, allocations: 4.281 kB / 0.7755 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001807/0.001821, allocations: 1.513 MB / 0.777 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.002645, allocations: 470.6 kB / 0.7775 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.002684, allocations: 0 / 0.7775 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.002767, allocations: 11.11 kB / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.864e-05/0.002826, allocations: 15.97 kB / 0.7775 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.003384, allocations: 224.8 kB / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.003554, allocations: 146.5 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.003587, allocations: 4 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.003669, allocations: 87.42 kB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.003723, allocations: 31.91 kB / 0.778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.003743, allocations: 8 kB / 0.778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.004003, allocations: 211.6 kB / 0.7782 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.004048, allocations: 31.92 kB / 0.7782 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.004091, allocations: 43.89 kB / 0.7782 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004316, allocations: 243.4 kB / 0.7785 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004318, allocations: 0 / 0.7785 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004319, allocations: 0.9688 kB / 0.7785 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.004322, allocations: 0 / 0.7785 GB, free: 2.18 MB / 0.7292 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.0003179/0.00464, allocations: 349 kB / 0.7788 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.004668, allocations: 13.34 kB / 0.7788 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.004697, allocations: 21.36 kB / 0.7788 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004817, allocations: 143.6 kB / 0.779 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-06/0.004826, allocations: 5.031 kB / 0.779 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.004844, allocations: 17.48 kB / 0.779 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.004916, allocations: 62.77 kB / 0.7791 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004922, allocations: 192 / 0.7791 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.004928, allocations: 1.094 kB / 0.7791 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.004933, allocations: 4.375 kB / 0.7791 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.004961, allocations: 31.02 kB / 0.7791 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.746e-05/0.005048, allocations: 87.5 kB / 0.7792 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.005104, allocations: 65.3 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.00513, allocations: 22.31 kB / 0.7793 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.005136, allocations: 0 / 0.7793 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.576e-05/0.005222, allocations: 93.12 kB / 0.7793 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 8.02e-07/0.005223, allocations: 0 / 0.7793 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001278/0.005351, allocations: 89.44 kB / 0.7794 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.005392, allocations: 96.97 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.005461, allocations: 140.7 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.00548, allocations: 37.7 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.00551, allocations: 92.48 kB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.005549, allocations: 40.45 kB / 0.7798 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.005593, allocations: 49.69 kB / 0.7799 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.005663, allocations: 332.3 kB / 0.7802 GB, free: 252 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.005682, allocations: 18.81 kB / 0.7802 GB, free: 232 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.00587, allocations: 0.5266 MB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.00593, allocations: 71.2 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.005932, allocations: 0.7812 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 8.527e-05/0.006017, allocations: 99.17 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.006028, allocations: 8.969 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.006042, allocations: 3.984 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.00605, allocations: 0 / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.006106, allocations: 16.91 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006111, allocations: 3.938 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.006199, allocations: 45.25 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006206, allocations: 8 kB / 0.781 GB, free: 15.29 MB / 0.7448 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 6.788e-05/0.006274, allocations: 136.6 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.006283, allocations: 9.109 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.0063, allocations: 12.78 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.006302, allocations: 0 / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.006304, allocations: 5.062 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.006308, allocations: 7.922 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.919e-05/0.006368, allocations: 85.8 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006368, allocations: 0.5 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.006384, allocations: 13.09 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006385, allocations: 0 / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.006389, allocations: 0 / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.006392, allocations: 4.906 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006393, allocations: 0 / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.39e-05/0.006476, allocations: 114.2 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-06/0.006486, allocations: 16.61 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.006499, allocations: 4.688 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.006516, allocations: 4 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.006539, allocations: 4.828 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006544, allocations: 4 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.006566, allocations: 25.97 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006566, allocations: 0 / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001703/0.006736, allocations: 79.8 kB / 0.7815 GB, free: 14.72 MB / 0.7448 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.000161/0.006897, allocations: 159.3 kB / 0.7816 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.007022, allocations: 120.2 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.007027, allocations: 5.438 kB / 0.7817 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.007052, allocations: 24.78 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.769e-05/0.00712, allocations: 13.48 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.007372, allocations: 212 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.007412, allocations: 67.34 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.007438, allocations: 8.719 kB / 0.782 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.007508, allocations: 77.02 kB / 0.7821 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.007509, allocations: 0 / 0.7821 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.004156/0.01166, allocations: 2.882 MB / 0.7849 GB, free: 11.29 MB / 0.7448 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 & (cd run_cvode && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.948209231719375]