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.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: 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.01128/0.01128, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.002126/0.002126, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.179/3.179, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4176, allocations: 157.4 MB / 1.208 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003462/0.4211, allocations: 1.483 MB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4226, allocations: 0.6929 MB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.4227, allocations: 0 / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.794e-05/0.4228, allocations: 11.92 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.4229, allocations: 15.8 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4242, allocations: 343.7 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.4246, allocations: 175.6 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.4246, allocations: 7.984 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.4248, allocations: 83.75 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4249, allocations: 47.77 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.4249, allocations: 12 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.4255, allocations: 251.8 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.4256, allocations: 39.88 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.4257, allocations: 59.73 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.4264, allocations: 303.3 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4264, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4264, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4264, allocations: 4 kB / 1.211 GB, free: 6.234 MB / 0.9669 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.0009052/0.4273, allocations: 478.8 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4274, allocations: 12.62 kB / 1.212 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4275, allocations: 16.83 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.4279, allocations: 216 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4279, allocations: 4.375 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.4279, allocations: 12.38 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.4282, allocations: 102.8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4282, allocations: 192 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4282, allocations: 7.938 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4282, allocations: 3.938 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4284, allocations: 47.95 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.4288, allocations: 243.4 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.429, allocations: 111.8 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4291, allocations: 74.64 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.4291, allocations: 0 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.4295, allocations: 133.9 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.4295, allocations: 4 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0005399/0.43, allocations: 210.1 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4302, allocations: 118.8 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4304, allocations: 139 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.4304, allocations: 41.7 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.4305, allocations: 104.6 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/0.4306, allocations: 55.34 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.4308, allocations: 65.62 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.431, allocations: 326.8 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4311, allocations: 48.25 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.4313, allocations: 180.5 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4315, allocations: 122.6 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4316, allocations: 0 / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003509/0.4319, allocations: 217.2 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4319, allocations: 4 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.432, allocations: 4 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.432, allocations: 8 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4321, allocations: 15.92 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4322, allocations: 8 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.4324, allocations: 43.8 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4324, allocations: 12 kB / 1.214 GB, free: 2.77 MB / 0.9669 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.0001596/0.4326, allocations: 132 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.4326, allocations: 23.88 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.4327, allocations: 20.7 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4327, allocations: 4 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4327, allocations: 0 / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4327, allocations: 0 / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.4329, allocations: 213.4 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.433, allocations: 4 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.433, allocations: 8 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.433, allocations: 0 / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.433, allocations: 8 kB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.433, allocations: 3.984 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4331, allocations: 3.938 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.4334, allocations: 210.6 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.4335, allocations: 88.92 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.4335, allocations: 7.984 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.4336, allocations: 7.938 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4337, allocations: 15.98 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4337, allocations: 4 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.971e-05/0.4338, allocations: 101 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4338, allocations: 4 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004768/0.4343, allocations: 99.92 kB / 1.215 GB, free: 1.727 MB / 0.9669 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.0004268/0.4347, allocations: 207.3 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.4351, allocations: 221 kB / 1.215 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4351, allocations: 0 / 1.215 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4352, allocations: 59.86 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.4354, allocations: 10.44 kB / 1.216 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.4359, allocations: 244.7 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4363, allocations: 0.7162 MB / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.4363, allocations: 8.891 kB / 1.216 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.4364, allocations: 15.44 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.4364, allocations: 0 / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of Templates: time 0.007742/0.4441, allocations: 3.098 MB / 1.22 GB, free: 13.11 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches