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.001596/0.001596, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001539/0.001539, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001667, allocations: 76.03 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4313, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003091/0.4345, allocations: 1.497 MB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.4357, allocations: 0.6928 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.4358, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.4359, allocations: 11.92 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.436, allocations: 11.81 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.4371, allocations: 349.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.4373, allocations: 163.7 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.4374, allocations: 8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.4375, allocations: 71.77 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.4376, allocations: 55.81 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.4376, allocations: 12 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.438, allocations: 251.8 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.4381, allocations: 31.91 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.4382, allocations: 71.69 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.4386, allocations: 299.3 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4386, allocations: 0 / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4387, allocations: 0 / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4387, allocations: 0 / 1.03 GB, free: 14.56 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.0007043/0.4394, allocations: 478.9 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4394, allocations: 8.031 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.4395, allocations: 20.75 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.4397, allocations: 212.1 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4398, allocations: 8.375 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.4398, allocations: 8.375 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.44, allocations: 107.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.44, allocations: 192 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4401, allocations: 7.922 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4401, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.4402, allocations: 43.98 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.4404, allocations: 251.3 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4406, allocations: 111.9 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.4407, allocations: 70.61 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.4407, allocations: 3.938 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.441, allocations: 141.8 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.441, allocations: 3.938 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004208/0.4414, allocations: 217.3 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.4415, allocations: 110.8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4417, allocations: 145.7 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4417, allocations: 37.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.4418, allocations: 96.64 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.4419, allocations: 59.33 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.442, allocations: 65.69 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4421, allocations: 322.8 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.4422, allocations: 48.27 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.4424, allocations: 185.8 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.4426, allocations: 126.5 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4426, allocations: 0 / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002745/0.4429, allocations: 202.1 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4429, allocations: 8 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.443, allocations: 7.984 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.443, allocations: 3.938 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.4431, allocations: 16 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4431, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4433, allocations: 43.8 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4433, allocations: 8 kB / 1.033 GB, free: 11.11 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.0001239/0.4435, allocations: 148.1 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.4435, allocations: 19.75 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.4436, allocations: 16.72 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4436, allocations: 7.984 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4436, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4436, allocations: 4 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.4438, allocations: 205.5 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4438, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.4438, allocations: 11.98 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4438, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4438, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4438, allocations: 7.938 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4438, allocations: 4 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4441, allocations: 220.3 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.4442, allocations: 89.02 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4442, allocations: 4 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.4443, allocations: 11.92 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.4443, allocations: 8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4444, allocations: 11.98 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.4444, allocations: 109.4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.803e-06/0.4444, allocations: 0 / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003606/0.4448, allocations: 107.9 kB / 1.034 GB, free: 10.04 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.0003142/0.4451, allocations: 199.3 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.4455, allocations: 220.9 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4455, allocations: 0 / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.4456, allocations: 59.92 kB / 1.035 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4458, allocations: 11.98 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.4462, allocations: 252.7 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4465, allocations: 0.7045 MB / 1.035 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.4466, allocations: 17.14 kB / 1.036 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4466, allocations: 15.44 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4466, allocations: 4 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.006344/0.453, allocations: 3.078 MB / 1.039 GB, free: 5.441 MB / 0.8106 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 -s cvode -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) Reference file matches