Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 185.1 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009045, allocations: 95.84 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 15.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001356/0.2083, allocations: 1.171 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.2091, allocations: 0.6049 MB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.2091, allocations: 0 / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.2092, allocations: 7.922 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.2093, allocations: 15.92 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.2099, allocations: 279.4 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2101, allocations: 103.8 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.2101, allocations: 4 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.2102, allocations: 63.81 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.2103, allocations: 55.7 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2103, allocations: 7.984 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2105, allocations: 203.8 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.2106, allocations: 35.89 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2106, allocations: 41.7 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2109, allocations: 215.8 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.2109, allocations: 0 / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2109, allocations: 0 / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2109, allocations: 3.938 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB 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.0004183/0.2113, allocations: 452.1 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2113, allocations: 8.031 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.2114, allocations: 46.48 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2114, allocations: 15.81 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2116, allocations: 210.8 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2116, allocations: 4 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2116, allocations: 12 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2118, allocations: 101.7 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2118, allocations: 0 / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2118, allocations: 4 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2118, allocations: 4 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.2119, allocations: 47.89 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2121, allocations: 251.3 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2122, allocations: 107.8 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.2122, allocations: 8.078 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.2124, allocations: 134.4 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.2124, allocations: 4 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003857/0.2128, allocations: 449.4 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2128, allocations: 114.8 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.2129, allocations: 143.3 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.213, allocations: 37.7 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.213, allocations: 92.7 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.213, allocations: 59.33 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.2131, allocations: 0 / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.2131, allocations: 330.8 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.2132, allocations: 56.25 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2133, allocations: 179 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.2134, allocations: 75.88 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2134, allocations: 0 / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002188/0.2137, allocations: 197.4 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2137, allocations: 4 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2137, allocations: 11.88 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2137, allocations: 4 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.2138, allocations: 11.98 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2138, allocations: 8 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.214, allocations: 53.05 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.214, allocations: 12 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.581e-05/0.2141, allocations: 136 kB / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.2142, allocations: 23.8 kB / 0.9855 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2142, allocations: 12.72 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2142, allocations: 4 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2142, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2142, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.2143, allocations: 205.5 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2143, allocations: 7.953 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.2144, allocations: 11.94 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2144, allocations: 0 / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2144, allocations: 11.98 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2144, allocations: 240 / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2144, allocations: 4.141 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.2146, allocations: 240.4 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.2147, allocations: 88.95 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.2147, allocations: 7.984 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.2147, allocations: 8 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2148, allocations: 15.92 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2148, allocations: 8 kB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.2149, allocations: 108.6 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2149, allocations: 4 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002908/0.2152, allocations: 91.98 kB / 0.9862 GB, free: 20.15 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000496/0.2157, allocations: 1.011 MB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2159, allocations: 209 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2159, allocations: 0 / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.216, allocations: 67.89 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.2161, allocations: 7.953 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.217, allocations: 1.148 MB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2172, allocations: 0.7204 MB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2172, allocations: 12.88 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2173, allocations: 31.42 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2173, allocations: 0 / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.2312, allocations: 4.264 MB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.2313, allocations: 221 kB / 0.9937 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.837, allocations: 0 / 0.9937 GB, free: 12.51 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)