Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001239/0.001239, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.395/2.395, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.16 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2239, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002328/0.2263, allocations: 1.536 MB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2274, allocations: 0.732 MB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.2274, allocations: 0 / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.002e-05/0.2275, allocations: 7.984 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.2276, allocations: 11.86 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.2283, allocations: 294.3 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2285, allocations: 163.6 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.2285, allocations: 11.98 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.2286, allocations: 59.78 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.2287, allocations: 51.81 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.2287, allocations: 7.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.229, allocations: 247.7 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.2291, allocations: 31.91 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.2292, allocations: 51.77 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2295, allocations: 299.5 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2295, allocations: 4 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2295, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2295, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 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.0005288/0.2301, allocations: 474.9 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2301, allocations: 12.03 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.2302, allocations: 34.75 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.2302, allocations: 16.75 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2304, allocations: 214.1 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2304, allocations: 4.375 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.2304, allocations: 20.36 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2306, allocations: 100.7 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2306, allocations: 3.938 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2306, allocations: 0 / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2306, allocations: 4 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.2307, allocations: 43.95 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.231, allocations: 255.2 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2311, allocations: 103.9 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2312, allocations: 74.59 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.2312, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2314, allocations: 133.9 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.594e-06/0.2314, allocations: 0 / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003676/0.2318, allocations: 222 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.2319, allocations: 122.8 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.232, allocations: 143.1 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.232, allocations: 37.7 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.2321, allocations: 96.69 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.2321, allocations: 51.36 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.2322, allocations: 61.69 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.2323, allocations: 326.8 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.2324, allocations: 48.25 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2326, allocations: 180.5 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.2328, allocations: 134.5 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2328, allocations: 4 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002699/0.2331, allocations: 197.3 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2331, allocations: 12 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.2331, allocations: 7.938 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2331, allocations: 0 / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.2332, allocations: 12 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2332, allocations: 240 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2334, allocations: 57.69 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2334, allocations: 11.98 kB / 1.059 GB, free: 1.246 MB / 0.8106 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 (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.000101/0.2336, allocations: 144 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.2336, allocations: 11.95 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.2336, allocations: 24.69 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2336, allocations: 0 / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2336, allocations: 4 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2336, allocations: 0 / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2338, allocations: 209.5 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2338, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.2338, allocations: 8 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2339, allocations: 8 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2339, allocations: 8 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2339, allocations: 7.938 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2339, allocations: 0 / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.2341, allocations: 216.5 kB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2342, allocations: 88.95 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2342, allocations: 4 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.2343, allocations: 19.92 kB / 1.059 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2343, allocations: 7.984 kB / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2343, allocations: 4 kB / 1.059 GB, free: 408 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.2344, allocations: 104.4 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2344, allocations: 3.938 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003049/0.2347, allocations: 104 kB / 1.06 GB, free: 196 kB / 0.8106 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 (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.000644/0.2354, allocations: 0.8442 MB / 1.06 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.2356, allocations: 212.9 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2356, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.2357, allocations: 59.92 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.2359, allocations: 17.8 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2375, allocations: 1.835 MB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2377, allocations: 0.7084 MB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2377, allocations: 8.891 kB / 1.063 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.2378, allocations: 31.42 kB / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2378, allocations: 0 / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3385/0.5764, allocations: 4.345 MB / 1.067 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.5766, allocations: 227.8 kB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.472, allocations: 1.562 kB / 1.068 GB, free: 7.883 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)