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: 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_9_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_9_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.01056/0.01057, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.001766/0.001766, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 67.89 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41/1.413, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003236/1.416, allocations: 1.49 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001326/1.418, allocations: 0.6814 MB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/1.418, allocations: 4.812 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.539e-05/1.418, allocations: 8.344 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/1.418, allocations: 12.97 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/1.419, allocations: 347.1 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/1.419, allocations: 175.1 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/1.419, allocations: 9.828 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/1.419, allocations: 73.06 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/1.42, allocations: 48.22 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/1.42, allocations: 11.75 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/1.42, allocations: 255.3 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/1.42, allocations: 39.27 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/1.42, allocations: 56.61 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/1.421, allocations: 302.4 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.421, allocations: 0.8438 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.421, allocations: 4 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.421, allocations: 0 / 1.091 GB, free: 3.508 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.0007136/1.422, allocations: 482.3 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.422, allocations: 13.31 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/1.422, allocations: 16.41 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/1.422, allocations: 211.8 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.422, allocations: 5.125 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/1.422, allocations: 13.77 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/1.422, allocations: 102.6 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.422, allocations: 192 / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.422, allocations: 4.969 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/1.422, allocations: 1.031 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/1.423, allocations: 50.39 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/1.423, allocations: 254.6 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/1.423, allocations: 109.9 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.423, allocations: 70.02 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/1.423, allocations: 1.562 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/1.424, allocations: 142.4 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/1.424, allocations: 0 / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004945/1.424, allocations: 221.7 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.424, allocations: 115.2 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.424, allocations: 140.5 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/1.424, allocations: 39.73 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/1.424, allocations: 94.92 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/1.424, allocations: 64.81 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.425, allocations: 61.19 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/1.425, allocations: 327.5 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.425, allocations: 51.3 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.425, allocations: 178 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.425, allocations: 132.5 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.425, allocations: 1.125 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003477/1.426, allocations: 204.9 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.426, allocations: 5.219 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.426, allocations: 9.344 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.426, allocations: 1.594 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.426, allocations: 20.78 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.426, allocations: 1.375 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.426, allocations: 50.91 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/1.426, allocations: 6.812 kB / 1.094 GB, free: 1.031 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.0001234/1.426, allocations: 141.1 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/1.426, allocations: 17.17 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/1.426, allocations: 13.36 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/1.426, allocations: 2.578 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.426, allocations: 5.281 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.426, allocations: 1.359 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.427, allocations: 204.8 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.427, allocations: 9.594 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/1.427, allocations: 9.438 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.427, allocations: 0.8125 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.427, allocations: 7.391 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.427, allocations: 6.156 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.427, allocations: 0.9375 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/1.427, allocations: 212.1 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/1.427, allocations: 90.33 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.427, allocations: 3.766 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/1.427, allocations: 16.75 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/1.427, allocations: 11.78 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.427, allocations: 8.297 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.949e-05/1.427, allocations: 103.4 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.427, allocations: 0.5625 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005332/1.428, allocations: 101.8 kB / 1.095 GB, free: 304 kB / 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.0003711/1.428, allocations: 210.3 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003845/1.429, allocations: 218.7 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.429, allocations: 4 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/1.429, allocations: 57.53 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/1.429, allocations: 8.797 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/1.429, allocations: 244.7 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/1.43, allocations: 0.715 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.071e-05/1.43, allocations: 11.56 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/1.43, allocations: 13.66 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.43, allocations: 1.094 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.008815/1.439, allocations: 3.095 MB / 1.1 GB, free: 14.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches