Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 106 kB / 15.99 MB, free: 5.906 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.001174/0.001174, allocations: 196 kB / 16.91 MB, free: 5.754 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 122.9 MB / 413.6 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.4906 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3828, allocations: 77.92 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002697/0.3856, allocations: 1.537 MB / 0.5682 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3866, allocations: 0.6869 MB / 0.5688 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.3867, allocations: 2.188 kB / 0.5688 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.3868, allocations: 8.078 kB / 0.5689 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.3869, allocations: 9.109 kB / 0.5689 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.3878, allocations: 321 kB / 0.5692 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.388, allocations: 173 kB / 0.5693 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.3881, allocations: 5.469 kB / 0.5693 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.3882, allocations: 72.89 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3883, allocations: 50.52 kB / 0.5695 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.3883, allocations: 15.25 kB / 0.5695 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.3888, allocations: 252.1 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.3888, allocations: 40.22 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.948e-05/0.3889, allocations: 58.34 kB / 0.5698 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.3894, allocations: 306.2 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3894, allocations: 1.188 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3894, allocations: 4.625 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3894, allocations: 0 / 0.5701 GB, free: 30.57 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.0006105/0.39, allocations: 468.2 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3901, allocations: 10.31 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.3902, allocations: 11.81 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3904, allocations: 217.3 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3904, allocations: 9.625 kB / 0.5708 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.3904, allocations: 8.906 kB / 0.5708 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3906, allocations: 101.1 kB / 0.5709 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3906, allocations: 192 / 0.5709 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3907, allocations: 10.7 kB / 0.5709 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3907, allocations: 1.969 kB / 0.5709 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3908, allocations: 45.61 kB / 0.571 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3911, allocations: 247.9 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.3913, allocations: 115.8 kB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3914, allocations: 70.84 kB / 0.5714 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3914, allocations: 2.938 kB / 0.5714 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.3918, allocations: 137.6 kB / 0.5715 GB, free: 29.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.3918, allocations: 0.5 kB / 0.5715 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004566/0.3922, allocations: 215.7 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3923, allocations: 115.7 kB / 0.5718 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3924, allocations: 145.6 kB / 0.572 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.3925, allocations: 40.05 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3925, allocations: 97.38 kB / 0.5721 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.3926, allocations: 55.55 kB / 0.5721 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.3927, allocations: 64.59 kB / 0.5722 GB, free: 28.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.3928, allocations: 326.6 kB / 0.5725 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.3929, allocations: 55.58 kB / 0.5726 GB, free: 28.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3931, allocations: 178.4 kB / 0.5727 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3933, allocations: 133 kB / 0.5729 GB, free: 28.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3933, allocations: 2.375 kB / 0.5729 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003152/0.3936, allocations: 206.6 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3937, allocations: 6.438 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.3937, allocations: 5.641 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3937, allocations: 2.312 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3938, allocations: 12.52 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3938, allocations: 3.031 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3941, allocations: 46.47 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3941, allocations: 14.61 kB / 0.5731 GB, free: 28.15 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.0001109/0.3942, allocations: 134.9 kB / 0.5733 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3943, allocations: 18.52 kB / 0.5733 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3943, allocations: 17.17 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3943, allocations: 2.688 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3943, allocations: 0.6094 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3943, allocations: 2.062 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3945, allocations: 204.6 kB / 0.5735 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3945, allocations: 2.547 kB / 0.5735 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.3946, allocations: 17.47 kB / 0.5735 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3946, allocations: 5.328 kB / 0.5735 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3946, allocations: 3.625 kB / 0.5735 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3946, allocations: 1.828 kB / 0.5735 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3946, allocations: 3.406 kB / 0.5735 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3949, allocations: 220.3 kB / 0.5738 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.395, allocations: 93.77 kB / 0.5738 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.395, allocations: 1.969 kB / 0.5738 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.395, allocations: 10.17 kB / 0.5739 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3951, allocations: 15.86 kB / 0.5739 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3951, allocations: 4.656 kB / 0.5739 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.3952, allocations: 108.1 kB / 0.574 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3952, allocations: 0 / 0.574 GB, free: 27.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.3956, allocations: 102.1 kB / 0.5741 GB, free: 27.43 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.0002874/0.3959, allocations: 197.8 kB / 0.5743 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3962, allocations: 231.5 kB / 0.5745 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3962, allocations: 5.125 kB / 0.5745 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.3963, allocations: 57.98 kB / 0.5745 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.3965, allocations: 10.61 kB / 0.5746 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.397, allocations: 274.8 kB / 0.5748 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.3971, allocations: 0.706 MB / 0.5755 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.3972, allocations: 11.58 kB / 0.5755 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3972, allocations: 15 kB / 0.5755 GB, free: 26.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3972, allocations: 0 / 0.5755 GB, free: 26.24 MB / 446.1 MB Notification: Performance of Templates: time 0.006802/0.404, allocations: 3.025 MB / 0.5785 GB, free: 25.87 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)