Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 110.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 294.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9603/0.9603, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4865, allocations: 86.97 MB / 0.767 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002424/0.489, allocations: 1.418 MB / 0.7684 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.4899, allocations: 490.3 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.49, allocations: 4 kB / 0.7689 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.705e-05/0.4901, allocations: 7.922 kB / 0.7689 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.4902, allocations: 19.8 kB / 0.7689 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.4909, allocations: 230.9 kB / 0.7691 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.4911, allocations: 147.8 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4911, allocations: 3.984 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.4912, allocations: 63.83 kB / 0.7693 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.4913, allocations: 35.89 kB / 0.7694 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.4914, allocations: 12 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.4916, allocations: 167.8 kB / 0.7695 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.4917, allocations: 41.67 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.4918, allocations: 55.73 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.4921, allocations: 235.2 kB / 0.7698 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4921, allocations: 0 / 0.7698 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4921, allocations: 0 / 0.7698 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.4921, allocations: 4 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 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.0005683/0.4927, allocations: 441.6 kB / 0.7703 GB, free: 444 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4928, allocations: 12.03 kB / 0.7703 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4928, allocations: 12.84 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.4931, allocations: 226.7 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4931, allocations: 8.375 kB / 0.7705 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.4931, allocations: 12.38 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4933, allocations: 79.95 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4933, allocations: 192 / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4933, allocations: 3.938 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4933, allocations: 4 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.4934, allocations: 39.97 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.4937, allocations: 226.5 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4938, allocations: 85.17 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.4939, allocations: 53.81 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.4939, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.4941, allocations: 109.1 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.123e-06/0.4941, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003463/0.4945, allocations: 193.3 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4945, allocations: 89.09 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4946, allocations: 137.8 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.4947, allocations: 45.69 kB / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.4948, allocations: 92.52 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.4948, allocations: 39.48 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.4949, allocations: 57.64 kB / 0.7717 GB, free: 14.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4951, allocations: 326.8 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.4951, allocations: 43.97 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4954, allocations: 200.3 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4955, allocations: 97.58 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4955, allocations: 3.938 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002222/0.4957, allocations: 169.3 kB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4958, allocations: 4 kB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.4958, allocations: 4 kB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4958, allocations: 0 / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.4959, allocations: 19.92 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4959, allocations: 0 / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.4962, allocations: 70.91 kB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4962, allocations: 8 kB / 0.7726 GB, free: 13.74 MB / 0.545 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.0001223/0.4963, allocations: 140.3 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.4964, allocations: 11.84 kB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.4964, allocations: 12.72 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4964, allocations: 0 / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4964, allocations: 0 / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.4965, allocations: 96.84 kB / 0.7729 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4965, allocations: 4 kB / 0.7729 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.4965, allocations: 11.94 kB / 0.7729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.4966, allocations: 7.984 kB / 0.7729 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002932/0.4969, allocations: 304.7 kB / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002994/0.4972, allocations: 407.8 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.388e-05/0.4973, allocations: 39.98 kB / 0.7736 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.469e-05/0.4974, allocations: 121.3 kB / 0.7737 GB, free: 12.56 MB / 0.545 GB Notification: Performance of Backend: time 3.31e-07/0.4974, allocations: 0 / 0.7737 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.4981, allocations: 268 kB / 0.774 GB, free: 12.29 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005373/0.4986, allocations: 0.6319 MB / 0.7746 GB, free: 11.61 MB / 0.545 GB Notification: Performance of Templates: time 0.00537/0.504, allocations: 2.607 MB / 0.7772 GB, free: 9.039 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)