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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 184 kB / 16.92 MB, free: 6.742 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.593/1.593, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.124/3.124, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003787, allocations: 9.812 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3953, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001953/0.3973, allocations: 1.194 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3987, allocations: 0.7204 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3988, allocations: 0 / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.3989, allocations: 3.984 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.399, allocations: 15.86 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4, allocations: 290.2 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.4002, allocations: 163.6 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.4003, allocations: 4 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.4004, allocations: 63.77 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.4005, allocations: 47.83 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.4005, allocations: 4 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.4009, allocations: 239.8 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.401, allocations: 39.88 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4011, allocations: 85.41 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.4014, allocations: 207.9 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4015, allocations: 3.938 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4015, allocations: 0 / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4015, allocations: 0 / 1.062 GB, free: 1.879 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.0007361/0.4022, allocations: 454.8 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4023, allocations: 15.97 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.4023, allocations: 24.83 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4026, allocations: 212 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4027, allocations: 4.375 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.4027, allocations: 16.31 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4029, allocations: 90.52 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.403, allocations: 4.125 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.403, allocations: 11.94 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.403, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4031, allocations: 47.97 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4035, allocations: 243.5 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4037, allocations: 107.8 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4038, allocations: 74.7 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.4038, allocations: 3.938 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.4041, allocations: 133.8 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.4041, allocations: 0 / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004772/0.4046, allocations: 217.4 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.4047, allocations: 122.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4049, allocations: 139.9 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.405, allocations: 41.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.4051, allocations: 96.69 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.4051, allocations: 55.3 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.4052, allocations: 29.7 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4054, allocations: 330.8 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.576e-05/0.4055, allocations: 56.2 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.4057, allocations: 176.5 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4059, allocations: 134.6 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4059, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003129/0.4062, allocations: 205.2 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4063, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.4063, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4063, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4065, allocations: 19.92 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4065, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.4068, allocations: 62.05 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.4068, allocations: 8.938 kB / 1.065 GB, free: 14.46 MB / 0.8262 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.0001446/0.4069, allocations: 144.1 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.407, allocations: 15.75 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.407, allocations: 16.72 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.407, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.407, allocations: 4 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.407, allocations: 4 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.4073, allocations: 209.5 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4073, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.4073, allocations: 15.94 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4073, allocations: 4 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4074, allocations: 3.984 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4074, allocations: 4 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4074, allocations: 3.938 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.4077, allocations: 217.1 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.4078, allocations: 92.91 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4078, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.4079, allocations: 7.938 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.4079, allocations: 11.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4079, allocations: 4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001/0.4081, allocations: 107.2 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4081, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004201/0.4085, allocations: 103.9 kB / 1.066 GB, free: 13.41 MB / 0.8262 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.0004142/0.4089, allocations: 203 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.4093, allocations: 217 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4093, allocations: 0 / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.4094, allocations: 55.92 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.4096, allocations: 12.05 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.4103, allocations: 309.6 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4107, allocations: 0.7126 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.4107, allocations: 19.44 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 3.958e-06/0.4107, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.005832/0.4166, allocations: 3.085 MB / 1.071 GB, free: 8.742 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time