Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 188.8 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008866, allocations: 90.47 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.691e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/0.9078, allocations: 132.5 MB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.9081, allocations: 76.08 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.9225, allocations: 4.593 MB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9225, allocations: 0 / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.9225, allocations: 4 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001121/0.9237, allocations: 0.6219 MB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9237, allocations: 8.031 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.9238, allocations: 39.8 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.9245, allocations: 318.9 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.9246, allocations: 15.98 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.9247, allocations: 47.48 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002015/0.9249, allocations: 93.95 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.9253, allocations: 314.7 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.9253, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.9254, allocations: 7.984 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9254, allocations: 8 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.9259, allocations: 456.5 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.9262, allocations: 280.3 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.9264, allocations: 139.9 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.9264, allocations: 11.98 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.9268, allocations: 341.6 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.9268, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.000759/0.9276, allocations: 492.9 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.9277, allocations: 210.6 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.9278, allocations: 132.1 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.9279, allocations: 44.98 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.928, allocations: 110.2 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.928, allocations: 86.91 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.9281, allocations: 8 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9282, allocations: 340 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.9285, allocations: 183 kB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.9288, allocations: 248.1 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.9293, allocations: 199.3 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9293, allocations: 0 / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001213/0.9305, allocations: 0.7778 MB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.9306, allocations: 116.4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9306, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9306, allocations: 4 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.9308, allocations: 34.95 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.9308, allocations: 3.984 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.9313, allocations: 115.6 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.9314, allocations: 38.3 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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 0.0001516/0.9315, allocations: 151.5 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000633/0.9322, allocations: 487.6 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.9322, allocations: 27.8 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.9323, allocations: 23.86 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.9323, allocations: 4.094 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.9323, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9323, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.9326, allocations: 282.5 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9326, allocations: 3.938 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.9326, allocations: 16 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.9327, allocations: 0 / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.9327, allocations: 23.7 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.9327, allocations: 4 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9327, allocations: 0 / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.9334, allocations: 0.5933 MB / 1.026 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.9335, allocations: 92.92 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.9336, allocations: 30.44 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.9338, allocations: 27.95 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.9338, allocations: 35.08 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.9339, allocations: 28.78 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.934, allocations: 111.5 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.483e-06/0.934, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003852/0.9344, allocations: 119.4 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.001227/0.9356, allocations: 1.545 MB / 1.028 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008763/0.9365, allocations: 0.8892 MB / 1.029 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9365, allocations: 0 / 1.029 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.9368, allocations: 199.4 kB / 1.029 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.9369, allocations: 14.05 kB / 1.029 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.9377, allocations: 415.3 kB / 1.03 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.938, allocations: 0.7333 MB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.9381, allocations: 18.02 kB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.9382, allocations: 54.67 kB / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9382, allocations: 0 / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.9637, allocations: 5.892 MB / 1.036 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.9639, allocations: 173.8 kB / 1.037 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.658, allocations: 0 / 1.037 GB, free: 0.6523 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)