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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.9 kB / 16.27 MB, free: 6.41 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.001037/0.001037, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7113/0.7113, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 56.14 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 77.93 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002198/0.3047, allocations: 1.481 MB / 0.5687 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.3056, allocations: 0.6882 MB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.3056, allocations: 1.969 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.3057, allocations: 6.141 kB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.3057, allocations: 18.72 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007742/0.3065, allocations: 344.2 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3067, allocations: 166.3 kB / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3068, allocations: 7.188 kB / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.3068, allocations: 72.66 kB / 0.57 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.3069, allocations: 48.39 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.307, allocations: 15.52 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.3073, allocations: 256.5 kB / 0.5703 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.3074, allocations: 40.23 kB / 0.5703 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.3075, allocations: 60.52 kB / 0.5704 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.3078, allocations: 300 kB / 0.5707 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3078, allocations: 0 / 0.5707 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3078, allocations: 0 / 0.5707 GB, free: 30.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3079, allocations: 3.594 kB / 0.5707 GB, free: 30.78 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.0004692/0.3083, allocations: 473 kB / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3084, allocations: 9.25 kB / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.3084, allocations: 36.97 kB / 0.5712 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3085, allocations: 13.38 kB / 0.5712 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3086, allocations: 221.3 kB / 0.5714 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3086, allocations: 13.12 kB / 0.5714 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3087, allocations: 8.812 kB / 0.5714 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3088, allocations: 95.83 kB / 0.5715 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3088, allocations: 3.938 kB / 0.5715 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3089, allocations: 2.156 kB / 0.5715 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3089, allocations: 5.734 kB / 0.5715 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.309, allocations: 49.48 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.3092, allocations: 249.5 kB / 0.5718 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3094, allocations: 111.6 kB / 0.5719 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.3095, allocations: 80.45 kB / 0.572 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3095, allocations: 3.031 kB / 0.572 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3097, allocations: 136 kB / 0.5721 GB, free: 29.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.3097, allocations: 1.562 kB / 0.5721 GB, free: 29.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003623/0.3101, allocations: 208.7 kB / 0.5723 GB, free: 29.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3101, allocations: 125.2 kB / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.3102, allocations: 143.5 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3103, allocations: 35.14 kB / 0.5726 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.3103, allocations: 104.2 kB / 0.5727 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.3104, allocations: 52.06 kB / 0.5728 GB, free: 29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.3104, allocations: 61.59 kB / 0.5728 GB, free: 28.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.3105, allocations: 328 kB / 0.5731 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.3106, allocations: 51.73 kB / 0.5732 GB, free: 28.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3108, allocations: 181 kB / 0.5733 GB, free: 28.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3109, allocations: 138 kB / 0.5735 GB, free: 28.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3109, allocations: 0.5 kB / 0.5735 GB, free: 28.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002564/0.3112, allocations: 197.6 kB / 0.5737 GB, free: 28.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3112, allocations: 5.828 kB / 0.5737 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.3112, allocations: 10.7 kB / 0.5737 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3113, allocations: 1.406 kB / 0.5737 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.3113, allocations: 15.81 kB / 0.5737 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3114, allocations: 3.297 kB / 0.5737 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3116, allocations: 51.95 kB / 0.5738 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3116, allocations: 6.469 kB / 0.5738 GB, free: 28.3 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 8.73e-05/0.3117, allocations: 145.6 kB / 0.5739 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.3117, allocations: 9.938 kB / 0.5739 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.3117, allocations: 13.33 kB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3118, allocations: 2.719 kB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3118, allocations: 4.875 kB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3118, allocations: 1.266 kB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3119, allocations: 213.5 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3119, allocations: 0 / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.3119, allocations: 10.72 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.312, allocations: 1.516 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.312, allocations: 3.453 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.312, allocations: 1.125 kB / 0.5742 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.312, allocations: 2.234 kB / 0.5742 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3122, allocations: 221 kB / 0.5744 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.3122, allocations: 97.92 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3123, allocations: 7.672 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.3123, allocations: 9.734 kB / 0.5745 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3124, allocations: 12.44 kB / 0.5745 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3124, allocations: 10.53 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.3125, allocations: 104.7 kB / 0.5746 GB, free: 27.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3125, allocations: 0 / 0.5746 GB, free: 27.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.3128, allocations: 101.6 kB / 0.5747 GB, free: 27.58 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.0005288/0.3133, allocations: 0.8389 MB / 0.5755 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3136, allocations: 227.1 kB / 0.5757 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3136, allocations: 2.125 kB / 0.5757 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.3137, allocations: 51.22 kB / 0.5758 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.3139, allocations: 18.02 kB / 0.5758 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3154, allocations: 1.816 MB / 0.5776 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3155, allocations: 0.7069 MB / 0.5783 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.3155, allocations: 14.89 kB / 0.5783 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.3156, allocations: 35.23 kB / 0.5783 GB, free: 24.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3156, allocations: 0 / 0.5783 GB, free: 24.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3335, allocations: 4.556 MB / 0.5828 GB, free: 23.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.46, allocations: 13.47 kB / 0.5828 GB, free: 23.11 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)