Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001084/0.001084, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001921/0.003005, allocations: 440 kB / 10.41 MB, free: 284 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.001174/0.001174, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002844, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9511/0.9511, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08163/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.355/2.355, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2533/2.608, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.345e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001605/0.001618, allocations: 1.517 MB / 0.8204 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.002084, allocations: 486 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.002111, allocations: 0 / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.002158, allocations: 3.938 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.002202, allocations: 15.86 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.002597, allocations: 225.5 kB / 0.8211 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.002741, allocations: 147.7 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.002778, allocations: 15.88 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.00287, allocations: 91.86 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.002934, allocations: 32.05 kB / 0.8213 GB, free: 15.99 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.002957, allocations: 11.94 kB / 0.8214 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.003189, allocations: 199.7 kB / 0.8216 GB, free: 15.79 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.003233, allocations: 23.94 kB / 0.8216 GB, free: 15.76 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.003277, allocations: 31.94 kB / 0.8216 GB, free: 15.73 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.003478, allocations: 203.4 kB / 0.8218 GB, free: 15.54 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.00349, allocations: 4 kB / 0.8218 GB, free: 15.53 MB / 0.8074 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003491, allocations: 0 / 0.8218 GB, free: 15.53 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.003501, allocations: 0 / 0.8218 GB, free: 15.53 MB / 0.8074 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.0004105/0.003911, allocations: 379.8 kB / 0.8222 GB, free: 15.13 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.00394, allocations: 12.03 kB / 0.8222 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.003977, allocations: 12.92 kB / 0.8222 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004102, allocations: 145.5 kB / 0.8223 GB, free: 14.94 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004112, allocations: 8.375 kB / 0.8223 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.004131, allocations: 16.38 kB / 0.8223 GB, free: 14.92 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.004209, allocations: 62.77 kB / 0.8224 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.004214, allocations: 192 / 0.8224 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.00422, allocations: 384 / 0.8224 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004227, allocations: 8.359 kB / 0.8224 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.004256, allocations: 25.52 kB / 0.8224 GB, free: 14.81 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.433e-05/0.00435, allocations: 95.53 kB / 0.8225 GB, free: 14.7 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.004406, allocations: 45.16 kB / 0.8226 GB, free: 14.63 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.004435, allocations: 37.72 kB / 0.8226 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.00444, allocations: 4 kB / 0.8226 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.75e-05/0.004537, allocations: 92.14 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=14): time 7.42e-07/0.004538, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of matching and sorting (n=14): time 0.000131/0.004669, allocations: 91.25 kB / 0.8228 GB, free: 14.38 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.004711, allocations: 85.09 kB / 0.8229 GB, free: 14.28 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.004778, allocations: 149.5 kB / 0.823 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.004798, allocations: 33.7 kB / 0.823 GB, free: 14.08 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.004827, allocations: 96.48 kB / 0.8231 GB, free: 13.98 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.00486, allocations: 39.66 kB / 0.8232 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.004904, allocations: 49.67 kB / 0.8232 GB, free: 13.89 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.004971, allocations: 334.7 kB / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.004989, allocations: 14.83 kB / 0.8236 GB, free: 13.54 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.005161, allocations: 0.544 MB / 0.8241 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.005218, allocations: 67.2 kB / 0.8242 GB, free: 12.77 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.00522, allocations: 0 / 0.8242 GB, free: 12.77 MB / 0.8074 GB Notification: Performance of matching and sorting (n=22) (initialization): time 8.515e-05/0.005305, allocations: 95.25 kB / 0.8242 GB, free: 12.66 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.005316, allocations: 4 kB / 0.8242 GB, free: 12.66 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.00533, allocations: 4 kB / 0.8243 GB, free: 12.66 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.00534, allocations: 7.922 kB / 0.8243 GB, free: 12.65 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.005402, allocations: 16 kB / 0.8243 GB, free: 12.63 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005407, allocations: 7.938 kB / 0.8243 GB, free: 12.62 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.005502, allocations: 39.86 kB / 0.8243 GB, free: 12.59 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005509, allocations: 4 kB / 0.8243 GB, free: 12.58 MB / 0.8074 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.223e-05/0.005571, allocations: 120.7 kB / 0.8244 GB, free: 12.45 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.005581, allocations: 15.92 kB / 0.8245 GB, free: 12.44 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.005601, allocations: 12.78 kB / 0.8245 GB, free: 12.43 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005603, allocations: 0 / 0.8245 GB, free: 12.43 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.005605, allocations: 4 kB / 0.8245 GB, free: 12.42 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.00561, allocations: 7.938 kB / 0.8245 GB, free: 12.41 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.415e-05/0.005674, allocations: 89.75 kB / 0.8246 GB, free: 12.31 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005675, allocations: 0 / 0.8246 GB, free: 12.31 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.005692, allocations: 11.98 kB / 0.8246 GB, free: 12.3 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.005701, allocations: 7.953 kB / 0.8246 GB, free: 12.29 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005702, allocations: 96 / 0.8246 GB, free: 12.29 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.005707, allocations: 4 kB / 0.8246 GB, free: 12.29 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005709, allocations: 0 / 0.8246 GB, free: 12.29 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00571, allocations: 3.984 kB / 0.8246 GB, free: 12.28 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.2e-05/0.005792, allocations: 115 kB / 0.8247 GB, free: 12.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.005805, allocations: 3.984 kB / 0.8247 GB, free: 12.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.005823, allocations: 8 kB / 0.8247 GB, free: 12.13 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.005849, allocations: 7.984 kB / 0.8247 GB, free: 12.12 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.005852, allocations: 4 kB / 0.8247 GB, free: 12.12 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.005873, allocations: 27.06 kB / 0.8247 GB, free: 12.09 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.005873, allocations: 0 / 0.8247 GB, free: 12.09 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001524/0.006026, allocations: 83.8 kB / 0.8248 GB, free: 12.01 MB / 0.8074 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.0001618/0.006187, allocations: 168.2 kB / 0.825 GB, free: 11.84 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006313, allocations: 121.5 kB / 0.8251 GB, free: 11.71 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.006319, allocations: 8 kB / 0.8251 GB, free: 11.7 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.006352, allocations: 24.84 kB / 0.8251 GB, free: 11.67 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.172e-05/0.006444, allocations: 16 kB / 0.8252 GB, free: 11.66 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.006814, allocations: 210.5 kB / 0.8254 GB, free: 11.42 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.006846, allocations: 67.33 kB / 0.8254 GB, free: 11.33 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.006873, allocations: 8.734 kB / 0.8254 GB, free: 11.32 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.006945, allocations: 71.36 kB / 0.8255 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of SimCode: time 4.71e-07/0.006945, allocations: 0 / 0.8255 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of Templates: time 0.003898/0.01084, allocations: 3.137 MB / 0.8286 GB, free: 8.168 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.075006182305515]