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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00113/0.001131, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001463/0.001463, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9002, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001693/0.902, allocations: 1.177 MB / 0.9556 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.9031, allocations: 0.6494 MB / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.9031, allocations: 0 / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.9032, allocations: 13.05 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.9033, allocations: 7.125 kB / 0.9562 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.9041, allocations: 286.9 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.9044, allocations: 145.8 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.9044, allocations: 8.797 kB / 0.9567 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.9045, allocations: 62.2 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.9046, allocations: 54.28 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.9047, allocations: 6.781 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.905, allocations: 226.5 kB / 0.957 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.9051, allocations: 29.47 kB / 0.957 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.9052, allocations: 48.41 kB / 0.9571 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.9055, allocations: 211.1 kB / 0.9573 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.9055, allocations: 0 / 0.9573 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9055, allocations: 0 / 0.9573 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.9055, allocations: 3.938 kB / 0.9573 GB, free: 5.629 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.0005845/0.9061, allocations: 447 kB / 0.9577 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.9061, allocations: 10 kB / 0.9577 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.9062, allocations: 22.53 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.9065, allocations: 211.1 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.9065, allocations: 4.438 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.9065, allocations: 15.47 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.9067, allocations: 100.4 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9067, allocations: 0 / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.9068, allocations: 1.312 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.9068, allocations: 5.359 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.9069, allocations: 52.67 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.9071, allocations: 244.4 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9073, allocations: 108 kB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.9074, allocations: 70.98 kB / 0.9585 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.9074, allocations: 4 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.9077, allocations: 135.8 kB / 0.9586 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.9077, allocations: 0 / 0.9586 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004239/0.9081, allocations: 212.3 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.9082, allocations: 117.6 kB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.9083, allocations: 151.1 kB / 0.9591 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.9084, allocations: 35.2 kB / 0.9591 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.9084, allocations: 102.2 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.9085, allocations: 58.16 kB / 0.9593 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.9085, allocations: 5.375 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.9086, allocations: 323 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.9087, allocations: 53.12 kB / 0.9596 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.9089, allocations: 176.9 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.909, allocations: 65.06 kB / 0.9599 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.909, allocations: 0 / 0.9599 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002831/0.9093, allocations: 194.7 kB / 0.9601 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9093, allocations: 5.469 kB / 0.9601 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.9093, allocations: 7.953 kB / 0.9601 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9094, allocations: 6.047 kB / 0.9601 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.9095, allocations: 18.03 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.9095, allocations: 6.484 kB / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.9097, allocations: 58.92 kB / 0.9602 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.9097, allocations: 14 kB / 0.9602 GB, free: 3.039 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.9099, allocations: 142.8 kB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.9099, allocations: 17.3 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.91, allocations: 18.95 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.91, allocations: 2.344 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.91, allocations: 1.625 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.91, allocations: 3.984 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.9102, allocations: 205.5 kB / 0.9605 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9102, allocations: 1.031 kB / 0.9605 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.9102, allocations: 12.98 kB / 0.9606 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9102, allocations: 5.156 kB / 0.9606 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.9103, allocations: 6.156 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9103, allocations: 1.312 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.9103, allocations: 1.344 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.9106, allocations: 212.3 kB / 0.9608 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.9106, allocations: 93.17 kB / 0.9609 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.9107, allocations: 5.969 kB / 0.9609 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.9107, allocations: 12 kB / 0.9609 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.9108, allocations: 9.047 kB / 0.9609 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.9108, allocations: 8.234 kB / 0.9609 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.9109, allocations: 104 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9109, allocations: 1.031 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005139/0.9114, allocations: 105.5 kB / 0.9611 GB, free: 2.254 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003663/0.9118, allocations: 204.4 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.9122, allocations: 218.4 kB / 0.9615 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9122, allocations: 0 / 0.9615 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.9123, allocations: 53.23 kB / 0.9615 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.9125, allocations: 16.42 kB / 0.9616 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.913, allocations: 269.5 kB / 0.9618 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.9132, allocations: 0.7062 MB / 0.9625 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.9133, allocations: 16.41 kB / 0.9625 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.9133, allocations: 17.94 kB / 0.9625 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9133, allocations: 0 / 0.9625 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of Templates: time 0.006975/0.9203, allocations: 2.864 MB / 0.9653 GB, free: 15.54 MB / 0.7325 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