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.00166/0.00166, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001869/0.001869, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 296.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 91.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4971, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002721/0.4999, allocations: 1.406 MB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.5008, allocations: 0.4983 MB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.5008, allocations: 0 / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.5009, allocations: 11.86 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.501, allocations: 7.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.5017, allocations: 230.9 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.5019, allocations: 143.8 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.502, allocations: 11.98 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.5021, allocations: 59.84 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.5022, allocations: 35.91 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.5022, allocations: 8 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.5025, allocations: 171.8 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.5025, allocations: 37.62 kB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.5026, allocations: 51.73 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.5029, allocations: 239.2 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5029, allocations: 4 kB / 0.7698 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.503, allocations: 0 / 0.7698 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.503, allocations: 0 / 0.7698 GB, free: 1.027 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.0005567/0.5035, allocations: 449.6 kB / 0.7703 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5036, allocations: 8.031 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.5036, allocations: 12.84 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.5038, allocations: 212 kB / 0.7705 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.5039, allocations: 12.38 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.5039, allocations: 12.38 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.5041, allocations: 83.89 kB / 0.7706 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5041, allocations: 4.188 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5041, allocations: 3.938 kB / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5041, allocations: 0 / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/0.5042, allocations: 39.97 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.5044, allocations: 226.5 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.5046, allocations: 89.17 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.5047, allocations: 53.81 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.5047, allocations: 0 / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.5049, allocations: 117 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.5049, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003296/0.5052, allocations: 189.3 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5053, allocations: 85.09 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5054, allocations: 151.9 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.5054, allocations: 33.7 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.5055, allocations: 96.52 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.5056, allocations: 39.55 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.5056, allocations: 45.7 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5057, allocations: 334.8 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.5058, allocations: 43.98 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.506, allocations: 207.3 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5062, allocations: 93.69 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5062, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002298/0.5064, allocations: 165.2 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5064, allocations: 4 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.5064, allocations: 4 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5065, allocations: 3.984 kB / 0.7725 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.5065, allocations: 8 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5066, allocations: 4 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.5068, allocations: 71.81 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.5069, allocations: 4 kB / 0.7726 GB, free: 13.86 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.0001198/0.507, allocations: 145.3 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.507, allocations: 11.84 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.507, allocations: 12.72 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5071, allocations: 3.984 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5071, allocations: 4 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.5071, allocations: 88.86 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.5071, allocations: 4 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.5072, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5072, allocations: 15.98 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002591/0.5075, allocations: 312.7 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002637/0.5078, allocations: 393.9 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.309e-05/0.5078, allocations: 48.09 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.5079, allocations: 121.1 kB / 0.7737 GB, free: 12.67 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.5079, allocations: 4 kB / 0.7737 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006703/0.5086, allocations: 261.7 kB / 0.774 GB, free: 12.39 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005095/0.5091, allocations: 0.6319 MB / 0.7746 GB, free: 11.71 MB / 0.545 GB Notification: Performance of Templates: time 0.005605/0.5147, allocations: 2.604 MB / 0.7772 GB, free: 9.148 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)