Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_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.003853/0.003853, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001105/0.001105, allocations: 195 kB / 16.67 MB, free: 5.926 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.261/2.261, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 68.11 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6203, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002306/0.6226, allocations: 1.486 MB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.6237, allocations: 0.6967 MB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.6237, allocations: 0 / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.6238, allocations: 11.86 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.6239, allocations: 15.86 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.6247, allocations: 344.2 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.625, allocations: 171.6 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.625, allocations: 11.98 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.6251, allocations: 67.89 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.6252, allocations: 55.75 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.6252, allocations: 12 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.6256, allocations: 243.8 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.6257, allocations: 39.89 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.6257, allocations: 59.72 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.6261, allocations: 298.9 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6261, allocations: 0 / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6261, allocations: 8 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6262, allocations: 0 / 1.17 GB, free: 248 kB / 0.8887 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.0005891/0.6267, allocations: 486.3 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6268, allocations: 16.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.6268, allocations: 42.73 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.6269, allocations: 12.89 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.6271, allocations: 208.2 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.6271, allocations: 8.375 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.6271, allocations: 8.375 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.6273, allocations: 107.5 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6273, allocations: 3.938 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.6274, allocations: 3.984 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6274, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.6275, allocations: 47.92 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.6277, allocations: 247.4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.6279, allocations: 111.9 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.628, allocations: 70.66 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.628, allocations: 3.938 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.6282, allocations: 150.3 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.6282, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0003738/0.6286, allocations: 209.5 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.6287, allocations: 110.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.6288, allocations: 145.8 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.6289, allocations: 37.7 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.6289, allocations: 96.7 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.629, allocations: 63.5 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.6291, allocations: 61.69 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6292, allocations: 326.8 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.6293, allocations: 48.27 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.6295, allocations: 192.2 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.6297, allocations: 126.5 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6297, allocations: 0 / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002856/0.63, allocations: 201.3 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.63, allocations: 8 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.6301, allocations: 20.86 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.6301, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.6302, allocations: 12 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6302, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.6304, allocations: 50.23 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6304, allocations: 4 kB / 1.173 GB, free: 12.72 MB / 0.9044 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.0001185/0.6305, allocations: 144 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6306, allocations: 19.91 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.6306, allocations: 12.72 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6306, allocations: 7.922 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6306, allocations: 0 / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6306, allocations: 8 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.6308, allocations: 213.4 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6308, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.6309, allocations: 15.92 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6309, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.6309, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6309, allocations: 4 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6309, allocations: 4 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.6312, allocations: 211.5 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.6312, allocations: 89.02 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.6313, allocations: 8 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.6313, allocations: 11.92 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.6314, allocations: 16.08 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6314, allocations: 7.984 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.6314, allocations: 105.8 kB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6314, allocations: 0 / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003077/0.6318, allocations: 103.7 kB / 1.174 GB, free: 11.66 MB / 0.9044 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.0007166/0.6325, allocations: 0.8543 MB / 1.174 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.6328, allocations: 221 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6328, allocations: 0 / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.6329, allocations: 55.92 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.633, allocations: 11.94 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.6348, allocations: 1.827 MB / 1.176 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.6351, allocations: 0.7045 MB / 1.177 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.6352, allocations: 12.88 kB / 1.177 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.6352, allocations: 39.42 kB / 1.177 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6352, allocations: 0 / 1.177 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.819/4.454, allocations: 4.612 MB / 1.182 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/17.3, allocations: 23.05 kB / 1.182 GB, free: 3.293 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)