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.001471/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001965/0.001965, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.73/2.73, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002745/1.007, allocations: 1.547 MB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001067/1.008, allocations: 0.6917 MB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/1.008, allocations: 0 / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.384e-05/1.008, allocations: 5.531 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/1.008, allocations: 14.95 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/1.009, allocations: 308.7 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/1.01, allocations: 172.1 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/1.01, allocations: 4.656 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/1.01, allocations: 78.36 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/1.01, allocations: 49.08 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/1.01, allocations: 12.72 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/1.01, allocations: 254.2 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/1.01, allocations: 38.2 kB / 0.9522 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/1.01, allocations: 62.69 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/1.011, allocations: 299.6 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.011, allocations: 3.984 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/1.011, allocations: 7.938 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.011, allocations: 1.281 kB / 0.9525 GB, free: 6.566 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.0006161/1.011, allocations: 472.5 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.011, allocations: 9 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/1.012, allocations: 15.66 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/1.012, allocations: 213.2 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.012, allocations: 4.188 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/1.012, allocations: 12.97 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/1.012, allocations: 104.7 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.012, allocations: 1.781 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.012, allocations: 3.938 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.012, allocations: 1.625 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/1.012, allocations: 41.62 kB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/1.012, allocations: 251.6 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/1.013, allocations: 115.7 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.013, allocations: 71.14 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/1.013, allocations: 1.25 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/1.013, allocations: 139.5 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/1.013, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004445/1.013, allocations: 225.3 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/1.014, allocations: 109.9 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.014, allocations: 142.6 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/1.014, allocations: 35.45 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/1.014, allocations: 96.67 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/1.014, allocations: 63.3 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/1.014, allocations: 56.23 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/1.014, allocations: 330.5 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/1.014, allocations: 50.64 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/1.014, allocations: 181.7 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/1.014, allocations: 128.4 kB / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.015, allocations: 0.9062 kB / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002942/1.015, allocations: 205.8 kB / 0.9555 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/1.015, allocations: 5.594 kB / 0.9555 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/1.015, allocations: 3.406 kB / 0.9555 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.015, allocations: 10.23 kB / 0.9555 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/1.015, allocations: 14.22 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.015, allocations: 1.375 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.015, allocations: 54.92 kB / 0.9556 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.015, allocations: 6.125 kB / 0.9556 GB, free: 3.887 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.0001125/1.015, allocations: 137.9 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/1.015, allocations: 25.69 kB / 0.9557 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/1.015, allocations: 11.16 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.015, allocations: 2.312 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.015, allocations: 1.156 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/1.015, allocations: 9.453 kB / 0.9557 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/1.016, allocations: 205.7 kB / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.016, allocations: 0 / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/1.016, allocations: 12.94 kB / 0.956 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.016, allocations: 1.062 kB / 0.956 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.016, allocations: 11.17 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/1.016, allocations: 5.219 kB / 0.956 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.016, allocations: 5.484 kB / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/1.016, allocations: 209 kB / 0.9562 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/1.016, allocations: 93.67 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.016, allocations: 2.312 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/1.016, allocations: 10.5 kB / 0.9563 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.016, allocations: 12.92 kB / 0.9563 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.016, allocations: 3.719 kB / 0.9563 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.664e-05/1.016, allocations: 108.5 kB / 0.9564 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.016, allocations: 0 / 0.9564 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004344/1.017, allocations: 102.9 kB / 0.9565 GB, free: 3.098 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.0003191/1.017, allocations: 203.9 kB / 0.9567 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003296/1.017, allocations: 221 kB / 0.9569 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.017, allocations: 4 kB / 0.9569 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/1.017, allocations: 56.08 kB / 0.957 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/1.018, allocations: 13.05 kB / 0.957 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/1.018, allocations: 284.1 kB / 0.9572 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/1.018, allocations: 0.7052 MB / 0.9579 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.573e-05/1.018, allocations: 13.12 kB / 0.9579 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/1.018, allocations: 14.31 kB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/1.018, allocations: 0 / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.006656/1.025, allocations: 3.028 MB / 0.9609 GB, free: 304 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