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.001945/0.001945, allocations: 110.3 kB / 16.27 MB, free: 5.93 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.002156/0.002156, allocations: 191.6 kB / 17.2 MB, free: 5.574 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7874/0.7874, allocations: 125.4 MB / 416.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.00205, allocations: 55.91 kB / 0.4941 GB, free: 4.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3874, allocations: 78.56 MB / 0.5709 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003645/0.3911, allocations: 1.473 MB / 0.5723 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3929, allocations: 0.6847 MB / 0.573 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.393, allocations: 1.5 kB / 0.573 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3932, allocations: 11.59 kB / 0.573 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.3933, allocations: 12.59 kB / 0.573 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3949, allocations: 349.9 kB / 0.5733 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3953, allocations: 171.6 kB / 0.5735 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.3953, allocations: 5.625 kB / 0.5735 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3955, allocations: 76.44 kB / 0.5736 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3957, allocations: 48.72 kB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.3957, allocations: 11.81 kB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.3964, allocations: 257.1 kB / 0.5739 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3965, allocations: 41.47 kB / 0.5739 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3966, allocations: 56.12 kB / 0.574 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.3973, allocations: 302.9 kB / 0.5742 GB, free: 29.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3973, allocations: 0 / 0.5742 GB, free: 29.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3973, allocations: 0 / 0.5742 GB, free: 29.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.3974, allocations: 1.828 kB / 0.5742 GB, free: 29.47 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.0008564/0.3982, allocations: 471.4 kB / 0.5747 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3983, allocations: 10 kB / 0.5747 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.3984, allocations: 15.34 kB / 0.5747 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3987, allocations: 216.8 kB / 0.5749 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3987, allocations: 15.52 kB / 0.5749 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.3988, allocations: 7.719 kB / 0.5749 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.399, allocations: 104.2 kB / 0.575 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.399, allocations: 192 / 0.575 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3991, allocations: 5.828 kB / 0.5751 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3991, allocations: 1.781 kB / 0.5751 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.3992, allocations: 46.52 kB / 0.5751 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.3996, allocations: 248.6 kB / 0.5753 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.3998, allocations: 115.8 kB / 0.5754 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4, allocations: 75.31 kB / 0.5755 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4, allocations: 1.156 kB / 0.5755 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.4004, allocations: 135 kB / 0.5756 GB, free: 28.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.4004, allocations: 0 / 0.5756 GB, free: 28.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006435/0.4011, allocations: 215.3 kB / 0.5759 GB, free: 28.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.4011, allocations: 119.8 kB / 0.576 GB, free: 28.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4013, allocations: 139.8 kB / 0.5761 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.4014, allocations: 37.61 kB / 0.5761 GB, free: 27.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.4014, allocations: 98.28 kB / 0.5762 GB, free: 27.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.4015, allocations: 57.06 kB / 0.5763 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4017, allocations: 64.45 kB / 0.5763 GB, free: 27.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.4017, allocations: 326.6 kB / 0.5767 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4019, allocations: 51.67 kB / 0.5767 GB, free: 27.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.4022, allocations: 184.4 kB / 0.5769 GB, free: 27.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.4025, allocations: 128.4 kB / 0.577 GB, free: 27.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4026, allocations: 1.094 kB / 0.577 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005092/0.4031, allocations: 207.2 kB / 0.5772 GB, free: 27.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4031, allocations: 12.25 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.4032, allocations: 6.938 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.4032, allocations: 7.25 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4034, allocations: 12.05 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4034, allocations: 1.219 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.4038, allocations: 53.55 kB / 0.5773 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4038, allocations: 6.031 kB / 0.5773 GB, free: 27.04 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.0001393/0.404, allocations: 139.2 kB / 0.5774 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.404, allocations: 14.8 kB / 0.5774 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.4041, allocations: 13.22 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4041, allocations: 3.812 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4041, allocations: 1.562 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4041, allocations: 1.312 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4043, allocations: 208.8 kB / 0.5777 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4043, allocations: 2.078 kB / 0.5777 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.4044, allocations: 10.03 kB / 0.5777 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4044, allocations: 6.219 kB / 0.5777 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4045, allocations: 4.109 kB / 0.5777 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4045, allocations: 9.312 kB / 0.5777 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4045, allocations: 2.188 kB / 0.5777 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.4049, allocations: 215 kB / 0.5779 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.4049, allocations: 94.55 kB / 0.578 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.405, allocations: 7.078 kB / 0.578 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.4051, allocations: 10.75 kB / 0.578 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.4052, allocations: 11.38 kB / 0.578 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4052, allocations: 6.484 kB / 0.578 GB, free: 26.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.4053, allocations: 103.9 kB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.4053, allocations: 1.25 kB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006614/0.406, allocations: 110.1 kB / 0.5782 GB, free: 26.31 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.0004907/0.4065, allocations: 190.2 kB / 0.5784 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.407, allocations: 234 kB / 0.5786 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.407, allocations: 1.375 kB / 0.5786 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4072, allocations: 53.81 kB / 0.5787 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.4075, allocations: 8.109 kB / 0.5787 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.4081, allocations: 244.5 kB / 0.5789 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.4083, allocations: 0.7083 MB / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.025e-05/0.4084, allocations: 11.42 kB / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.4085, allocations: 18.86 kB / 0.5796 GB, free: 25.15 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4085, allocations: 0 / 0.5796 GB, free: 25.15 MB / 446.1 MB Notification: Performance of Templates: time 0.01085/0.4194, allocations: 3.088 MB / 0.5827 GB, free: 23.91 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)