Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.002367/0.002367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002719/0.002719, allocations: 189.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.102/4.102, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 63.59 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3941, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003879/0.398, allocations: 1.552 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3999, allocations: 0.6974 MB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.4, allocations: 0 / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.887e-05/0.4001, allocations: 7.938 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.4002, allocations: 11.91 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4018, allocations: 322.5 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.4021, allocations: 179.6 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.4022, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.4024, allocations: 63.84 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.4025, allocations: 51.81 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.4026, allocations: 12 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.4032, allocations: 255.7 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.4033, allocations: 31.91 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4034, allocations: 71.7 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.404, allocations: 291.6 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4041, allocations: 8 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4041, allocations: 0 / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4041, allocations: 0 / 1.056 GB, free: 5.16 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.000952/0.4051, allocations: 475.9 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.4051, allocations: 12.62 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.4052, allocations: 34.75 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.4053, allocations: 20.75 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4056, allocations: 210 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4056, allocations: 8.375 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.4057, allocations: 12.36 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.406, allocations: 96.8 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.406, allocations: 7.875 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.4061, allocations: 3.984 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4061, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4063, allocations: 55.91 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.4067, allocations: 243.3 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.4069, allocations: 111.9 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4071, allocations: 74.66 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4072, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.4076, allocations: 137.8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.755e-06/0.4076, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0007233/0.4083, allocations: 225.8 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.4084, allocations: 126.7 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.4086, allocations: 139 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.4087, allocations: 33.7 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.4088, allocations: 104.6 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.4089, allocations: 47.36 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4091, allocations: 65.69 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4093, allocations: 322.8 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.4095, allocations: 56.25 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.4098, allocations: 172.5 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4102, allocations: 142.5 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4102, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005535/0.4108, allocations: 201.3 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4108, allocations: 8 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.4109, allocations: 4 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4109, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4111, allocations: 15.94 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4111, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.4115, allocations: 54.66 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.4116, allocations: 12 kB / 1.059 GB, free: 1.648 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.0001873/0.4118, allocations: 144.1 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.4118, allocations: 15.8 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.4119, allocations: 20.7 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4119, allocations: 0 / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4119, allocations: 0 / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4119, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4122, allocations: 209.5 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4122, allocations: 4 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.4123, allocations: 8 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4123, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4124, allocations: 4 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4124, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4124, allocations: 4 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.4129, allocations: 216.3 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.413, allocations: 92.95 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.413, allocations: 8 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4131, allocations: 11.92 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.4132, allocations: 11.98 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4133, allocations: 4 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4134, allocations: 105.1 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4134, allocations: 0 / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006394/0.414, allocations: 95.98 kB / 1.06 GB, free: 0.6133 MB / 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.001218/0.4153, allocations: 0.8599 MB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.4158, allocations: 216.9 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4158, allocations: 0 / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.416, allocations: 63.92 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4164, allocations: 15.92 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.4194, allocations: 1.835 MB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.4198, allocations: 0.7045 MB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.14e-05/0.4199, allocations: 12.88 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.42, allocations: 35.44 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.42, allocations: 0 / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8129/1.233, allocations: 4.445 MB / 1.068 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003996/1.233, allocations: 245.8 kB / 1.068 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.565/5.798, allocations: 3.781 kB / 1.068 GB, free: 8.176 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)