Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_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.009044/0.009044, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.002115/0.002115, allocations: 196.8 kB / 16.67 MB, free: 6.355 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.051/2.051, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.601/3.601, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 62.31 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3845, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004542/0.3891, allocations: 1.488 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3912, allocations: 0.6828 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.3913, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.3914, allocations: 15.86 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3916, allocations: 19.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3933, allocations: 347.3 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.3937, allocations: 171.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.3938, allocations: 7.984 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.394, allocations: 75.77 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.3941, allocations: 47.81 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3942, allocations: 16 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/0.3949, allocations: 251.8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.395, allocations: 35.89 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3952, allocations: 63.72 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.3958, allocations: 302.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3959, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3959, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3959, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 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.0009688/0.3969, allocations: 477.1 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.3969, allocations: 15.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.397, allocations: 38.67 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.3971, allocations: 12.84 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.3975, allocations: 208.2 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3975, allocations: 4.375 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.3976, allocations: 12.38 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3979, allocations: 100.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3979, allocations: 7.938 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.398, allocations: 7.984 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.398, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3982, allocations: 39.92 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3986, allocations: 247.4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.3989, allocations: 115.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3991, allocations: 66.67 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3992, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.3996, allocations: 145.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/0.3997, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0007865/0.4005, allocations: 213.4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.4006, allocations: 118.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4008, allocations: 143.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.4009, allocations: 37.7 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.401, allocations: 92.7 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.4011, allocations: 55.34 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.4013, allocations: 65.69 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4015, allocations: 326.8 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4017, allocations: 48.27 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.4021, allocations: 187.9 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.4025, allocations: 138.5 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4025, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000588/0.4031, allocations: 205.2 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4032, allocations: 4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/0.4032, allocations: 7.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4033, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4034, allocations: 12 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4035, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.4039, allocations: 47.8 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.404, allocations: 8 kB / 1.094 GB, free: 10.98 MB / 0.8575 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.0002208/0.4042, allocations: 144 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4042, allocations: 11.81 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.4043, allocations: 16.72 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4043, allocations: 3.984 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4044, allocations: 8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4044, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.4047, allocations: 209.5 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4047, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.4048, allocations: 15.92 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.4048, allocations: 4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.4049, allocations: 4.141 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.4049, allocations: 7.938 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4049, allocations: 0.9375 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.4054, allocations: 221.2 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.4055, allocations: 88.95 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.4056, allocations: 0 / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4057, allocations: 11.92 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4058, allocations: 11.94 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4058, allocations: 7.984 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001182/0.406, allocations: 114 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.61e-07/0.406, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007083/0.4067, allocations: 104 kB / 1.095 GB, free: 9.918 MB / 0.8575 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.001244/0.408, allocations: 0.8447 MB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.4086, allocations: 217 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4086, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4088, allocations: 55.92 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4091, allocations: 11.94 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.4124, allocations: 1.822 MB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4128, allocations: 0.7123 MB / 1.098 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.4129, allocations: 12.88 kB / 1.098 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.413, allocations: 31.42 kB / 1.098 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.413, allocations: 0 / 1.098 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.4456, allocations: 4.617 MB / 1.103 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 15.66 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)