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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001232/0.001232, allocations: 105.8 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.001287/0.001287, allocations: 184.6 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.25/1.25, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7101/0.7101, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2846, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002196/0.2868, allocations: 1.465 MB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.2877, allocations: 0.6915 MB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.2878, allocations: 1.938 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.561e-05/0.2878, allocations: 7.625 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.2879, allocations: 16.27 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.2887, allocations: 348.9 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.2889, allocations: 171.4 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.2889, allocations: 5.141 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.289, allocations: 71.41 kB / 0.57 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.2891, allocations: 55.11 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.2891, allocations: 12.47 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.2895, allocations: 254.9 kB / 0.5703 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.2895, allocations: 37.75 kB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.2896, allocations: 61.33 kB / 0.5704 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.29, allocations: 301.3 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.29, allocations: 1.828 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.29, allocations: 0.625 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.29, allocations: 0.6562 kB / 0.5707 GB, free: 30.62 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.0004601/0.2905, allocations: 471.7 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2905, allocations: 10.06 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.2905, allocations: 36.02 kB / 0.5712 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.2906, allocations: 12.91 kB / 0.5712 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2907, allocations: 216 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2908, allocations: 10.8 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2908, allocations: 7.344 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.2909, allocations: 98.62 kB / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.291, allocations: 11.86 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.291, allocations: 6.031 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.291, allocations: 1.406 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.2911, allocations: 42.06 kB / 0.5716 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.2913, allocations: 246.9 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2914, allocations: 113.1 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.2915, allocations: 70.34 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2915, allocations: 6.922 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.2917, allocations: 137.7 kB / 0.5721 GB, free: 29.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.2917, allocations: 3.938 kB / 0.5721 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003468/0.2921, allocations: 214.3 kB / 0.5723 GB, free: 29.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2921, allocations: 121.1 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.2922, allocations: 143.1 kB / 0.5726 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2922, allocations: 40.58 kB / 0.5726 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2923, allocations: 94.36 kB / 0.5727 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.2923, allocations: 52.78 kB / 0.5727 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.2924, allocations: 67.08 kB / 0.5728 GB, free: 28.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.2924, allocations: 325.2 kB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.2925, allocations: 50.94 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2927, allocations: 184.8 kB / 0.5733 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2929, allocations: 132.6 kB / 0.5735 GB, free: 28.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2929, allocations: 5.719 kB / 0.5735 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002521/0.2931, allocations: 201 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2932, allocations: 8.031 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.2932, allocations: 4.719 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2932, allocations: 2.656 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.2933, allocations: 15.59 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2933, allocations: 3.875 kB / 0.5737 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2935, allocations: 50.88 kB / 0.5737 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2935, allocations: 11.03 kB / 0.5738 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 8.557e-05/0.2936, allocations: 144.6 kB / 0.5739 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.2937, allocations: 9.969 kB / 0.5739 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.2937, allocations: 19.12 kB / 0.5739 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2937, allocations: 2.875 kB / 0.5739 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2937, allocations: 1.094 kB / 0.5739 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2937, allocations: 2.562 kB / 0.5739 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.2938, allocations: 207.3 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2938, allocations: 2.734 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.2939, allocations: 9.156 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2939, allocations: 1.844 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2939, allocations: 5.172 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2939, allocations: 2.375 kB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2939, allocations: 0 / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2942, allocations: 218.6 kB / 0.5744 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.2942, allocations: 94.45 kB / 0.5744 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.2942, allocations: 3.422 kB / 0.5744 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.2943, allocations: 10.81 kB / 0.5745 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2943, allocations: 12.41 kB / 0.5745 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2943, allocations: 4.766 kB / 0.5745 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.2944, allocations: 107.1 kB / 0.5746 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2944, allocations: 0 / 0.5746 GB, free: 27.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.2947, allocations: 108.1 kB / 0.5747 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.0005499/0.2953, allocations: 0.8403 MB / 0.5755 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.2956, allocations: 223.8 kB / 0.5757 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2956, allocations: 1.188 kB / 0.5757 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.2957, allocations: 58.75 kB / 0.5758 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.2958, allocations: 12.91 kB / 0.5758 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2974, allocations: 1.82 MB / 0.5776 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.2975, allocations: 0.7051 MB / 0.5782 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.2976, allocations: 13.92 kB / 0.5783 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2976, allocations: 32.25 kB / 0.5783 GB, free: 24.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2976, allocations: 0.625 kB / 0.5783 GB, free: 24.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.3168, allocations: 4.567 MB / 0.5828 GB, free: 23.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.426, allocations: 10.23 kB / 0.5828 GB, free: 23.04 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)