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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0024/0.0024, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.633 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 2.72/2.72, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003886/1.089, allocations: 1.541 MB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.091, allocations: 0.7259 MB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/1.091, allocations: 1.375 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/1.091, allocations: 13.3 kB / 0.9511 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/1.091, allocations: 10.67 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.092, allocations: 292.5 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/1.093, allocations: 155.1 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/1.093, allocations: 9.156 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/1.093, allocations: 66.42 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/1.093, allocations: 53.48 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/1.093, allocations: 5.219 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/1.094, allocations: 239 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/1.094, allocations: 38.88 kB / 0.952 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/1.094, allocations: 54.08 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006067/1.094, allocations: 290.3 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.094, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/1.094, allocations: 1.312 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.094, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7169 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.0007614/1.095, allocations: 481.2 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.095, allocations: 12.36 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/1.095, allocations: 16.59 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/1.096, allocations: 209.3 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/1.096, allocations: 9.844 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.096, allocations: 8.094 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.096, allocations: 103.2 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.096, allocations: 4.188 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/1.096, allocations: 5.25 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.096, allocations: 5.156 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/1.096, allocations: 53.36 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/1.096, allocations: 248.6 kB / 0.9534 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/1.096, allocations: 111.5 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.097, allocations: 71.02 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/1.097, allocations: 0.875 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/1.097, allocations: 140.8 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/1.097, allocations: 3.938 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0005064/1.097, allocations: 214.6 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/1.098, allocations: 116.5 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.098, allocations: 136.7 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.098, allocations: 39.02 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.098, allocations: 97.72 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/1.098, allocations: 59.5 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.098, allocations: 63.66 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/1.098, allocations: 323 kB / 0.9547 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/1.098, allocations: 57.84 kB / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/1.098, allocations: 183.9 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/1.099, allocations: 133.2 kB / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.099, allocations: 0 / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003921/1.099, allocations: 205 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.099, allocations: 4.875 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/1.099, allocations: 4.562 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.099, allocations: 1.312 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.099, allocations: 18.83 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.099, allocations: 1.391 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/1.1, allocations: 54.42 kB / 0.9553 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.1, allocations: 5.125 kB / 0.9554 GB, free: 3.945 MB / 0.7169 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.000162/1.1, allocations: 141.9 kB / 0.9555 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/1.1, allocations: 13.72 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/1.1, allocations: 15.59 kB / 0.9555 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.1, allocations: 5.672 kB / 0.9555 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.1, allocations: 5.391 kB / 0.9555 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.1, allocations: 1.5 kB / 0.9555 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/1.1, allocations: 209.8 kB / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.1, allocations: 0 / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/1.1, allocations: 12.66 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.1, allocations: 1 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.1, allocations: 7.453 kB / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/1.1, allocations: 5.109 kB / 0.9558 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.1, allocations: 1.031 kB / 0.9558 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/1.101, allocations: 207.8 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/1.101, allocations: 96.77 kB / 0.956 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/1.101, allocations: 15.92 kB / 0.9561 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/1.101, allocations: 6.281 kB / 0.9561 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/1.101, allocations: 17.64 kB / 0.9561 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.101, allocations: 7.812 kB / 0.9561 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.39e-05/1.101, allocations: 108.3 kB / 0.9562 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/1.101, allocations: 0 / 0.9562 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005478/1.102, allocations: 102 kB / 0.9563 GB, free: 3.145 MB / 0.7169 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.0005014/1.102, allocations: 188.8 kB / 0.9565 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000437/1.103, allocations: 216.5 kB / 0.9567 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.103, allocations: 0.9688 kB / 0.9567 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/1.103, allocations: 57.02 kB / 0.9567 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/1.103, allocations: 11.84 kB / 0.9567 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/1.104, allocations: 285.3 kB / 0.957 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.104, allocations: 0.7061 MB / 0.9577 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.524e-05/1.104, allocations: 7.984 kB / 0.9577 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/1.104, allocations: 18.61 kB / 0.9577 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/1.104, allocations: 0 / 0.9577 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.009047/1.113, allocations: 2.957 MB / 0.9606 GB, free: 412 kB / 0.7169 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