Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001337/0.001337, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001591/0.001591, allocations: 191 kB / 16.25 MB, free: 6.621 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.24/3.24, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 62.52 kB / 0.9115 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5146, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002937/0.5176, allocations: 1.469 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.5185, allocations: 0.4944 MB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.5186, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.5187, allocations: 3.938 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.5188, allocations: 15.91 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.5196, allocations: 211.3 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.5198, allocations: 147.7 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.5199, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.52, allocations: 59.83 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.5201, allocations: 43.83 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.5201, allocations: 8 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.5204, allocations: 167.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.5205, allocations: 39.89 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.5206, allocations: 63.72 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.521, allocations: 231.7 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.521, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.066e-06/0.521, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.521, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 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.0007678/0.5218, allocations: 443 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5219, allocations: 8.031 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.5219, allocations: 12.84 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.5222, allocations: 216 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5222, allocations: 4.375 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.5223, allocations: 16.38 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.5225, allocations: 83.94 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5225, allocations: 192 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.5225, allocations: 3.938 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.5226, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.5227, allocations: 39.92 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.523, allocations: 230.5 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5231, allocations: 77.25 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.5232, allocations: 65.73 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.5233, allocations: 3.938 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.5236, allocations: 113.1 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5236, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0004333/0.524, allocations: 197.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.5241, allocations: 85.11 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5243, allocations: 155.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.5243, allocations: 33.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.5244, allocations: 104.5 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.5245, allocations: 39.55 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.5246, allocations: 45.7 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5247, allocations: 326.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.5248, allocations: 47.86 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.5251, allocations: 199.4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.5252, allocations: 101.5 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5252, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.5255, allocations: 165.3 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5255, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.5256, allocations: 8 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5256, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5257, allocations: 15.94 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5257, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.526, allocations: 79.73 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.526, allocations: 8 kB / 1.073 GB, free: 4.656 MB / 0.8262 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.0001559/0.5262, allocations: 129.8 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.5262, allocations: 11.84 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.5262, allocations: 16.7 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5263, allocations: 4 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5263, allocations: 0 / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5263, allocations: 4 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.5265, allocations: 189.5 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5265, allocations: 3.938 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.5265, allocations: 15.94 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5265, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5266, allocations: 4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5266, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5266, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.5268, allocations: 177.9 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.5269, allocations: 92.88 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.5269, allocations: 4 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.527, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.527, allocations: 15.92 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5271, allocations: 4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.5272, allocations: 117.6 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5272, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003226/0.5275, allocations: 72 kB / 1.074 GB, free: 3.707 MB / 0.8262 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.0003263/0.5278, allocations: 167.2 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.5282, allocations: 167.3 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5282, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.5283, allocations: 44 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5285, allocations: 15.88 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.529, allocations: 255.3 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.5294, allocations: 0.7041 MB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.5295, allocations: 16.59 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.5295, allocations: 15.44 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.5295, allocations: 0 / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.006187/0.5357, allocations: 2.478 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)