Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 105.7 kB / 16.64 MB, free: 6.816 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.001417/0.001417, allocations: 194 kB / 17.57 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8712/0.8712, allocations: 122.9 MB / 414.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 59.91 kB / 0.4912 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4816, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00311/0.4847, allocations: 1.529 MB / 0.5688 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.4859, allocations: 0.6967 MB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.486, allocations: 1.094 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.4861, allocations: 4.609 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.4862, allocations: 12.97 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.4872, allocations: 315.2 kB / 0.5698 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.4875, allocations: 175.7 kB / 0.57 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.4875, allocations: 11.19 kB / 0.57 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4877, allocations: 75.11 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4878, allocations: 50.28 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4878, allocations: 12.97 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.4882, allocations: 248.7 kB / 0.5704 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.4883, allocations: 39.2 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.4884, allocations: 62.42 kB / 0.5705 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.4888, allocations: 209.8 kB / 0.5707 GB, free: 30.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4888, allocations: 0 / 0.5707 GB, free: 30.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4888, allocations: 0.5312 kB / 0.5707 GB, free: 30.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4888, allocations: 2.875 kB / 0.5707 GB, free: 30.64 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006784/0.4895, allocations: 477.7 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4896, allocations: 11.7 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.4896, allocations: 11.84 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4899, allocations: 216.9 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4899, allocations: 8.781 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.4899, allocations: 14.2 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.4902, allocations: 99.17 kB / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4902, allocations: 4.781 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4902, allocations: 5.312 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4902, allocations: 1.344 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.4903, allocations: 45.69 kB / 0.5715 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.4906, allocations: 248.2 kB / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4908, allocations: 111.6 kB / 0.5719 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4909, allocations: 71.53 kB / 0.5719 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4909, allocations: 6.469 kB / 0.5719 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.4912, allocations: 133.8 kB / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.4912, allocations: 0 / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004486/0.4917, allocations: 222.5 kB / 0.5723 GB, free: 29.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.4918, allocations: 117.2 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4919, allocations: 142.8 kB / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.4919, allocations: 39.27 kB / 0.5726 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.492, allocations: 100.7 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.4921, allocations: 56.66 kB / 0.5727 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.4922, allocations: 63.36 kB / 0.5728 GB, free: 28.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.4923, allocations: 325.4 kB / 0.5731 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4924, allocations: 52.47 kB / 0.5731 GB, free: 28.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.4926, allocations: 183.8 kB / 0.5733 GB, free: 28.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4928, allocations: 125.7 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4928, allocations: 2.031 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003247/0.4931, allocations: 206.2 kB / 0.5736 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4932, allocations: 6.062 kB / 0.5736 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.4932, allocations: 5.438 kB / 0.5736 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4932, allocations: 3.375 kB / 0.5736 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4933, allocations: 15.97 kB / 0.5737 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.4933, allocations: 1.531 kB / 0.5737 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.4936, allocations: 47.62 kB / 0.5737 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.4936, allocations: 7.891 kB / 0.5737 GB, free: 28.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001263/0.4938, allocations: 144.7 kB / 0.5738 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4938, allocations: 18.58 kB / 0.5739 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4938, allocations: 17.2 kB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4938, allocations: 2.656 kB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4938, allocations: 1.438 kB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4939, allocations: 2.531 kB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.494, allocations: 209.7 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.494, allocations: 2.094 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.4941, allocations: 11.17 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.4941, allocations: 5.344 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4941, allocations: 6.125 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4941, allocations: 1.031 kB / 0.5741 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4941, allocations: 5.125 kB / 0.5741 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.4945, allocations: 208.7 kB / 0.5743 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.4945, allocations: 100.7 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4945, allocations: 2.375 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.4946, allocations: 7.5 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.4947, allocations: 15.31 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4947, allocations: 4.75 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.4948, allocations: 103.2 kB / 0.5745 GB, free: 27.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4948, allocations: 0 / 0.5745 GB, free: 27.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.4952, allocations: 103.5 kB / 0.5746 GB, free: 27.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003421/0.4956, allocations: 206.4 kB / 0.5748 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.496, allocations: 219.8 kB / 0.575 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.496, allocations: 0 / 0.575 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4961, allocations: 53.69 kB / 0.5751 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4963, allocations: 15.69 kB / 0.5751 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.4969, allocations: 307.5 kB / 0.5754 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4971, allocations: 0.7074 MB / 0.5761 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4971, allocations: 15.16 kB / 0.5761 GB, free: 26.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4971, allocations: 0 / 0.5761 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Templates: time 0.006708/0.5038, allocations: 3.11 MB / 0.5791 GB, free: 25.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)