Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.886/1.886, allocations: 306.1 MB / 321.4 MB, free: 10.67 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 187.4 kB / 393.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 93.44 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004419, allocations: 8 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9599, allocations: 121.3 MB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002073/0.962, allocations: 1.191 MB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.9641, allocations: 1.38 MB / 1.043 GB, free: 55.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.9642, allocations: 0 / 1.043 GB, free: 55.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.9643, allocations: 8.156 kB / 1.043 GB, free: 55.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.9644, allocations: 10.11 kB / 1.043 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.9656, allocations: 294 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.9659, allocations: 164.5 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.9659, allocations: 18.67 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.9661, allocations: 63.09 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.9662, allocations: 52 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.9662, allocations: 7.062 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.9666, allocations: 226.5 kB / 1.044 GB, free: 55.37 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.9667, allocations: 32.89 kB / 1.044 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.9669, allocations: 89.91 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.9674, allocations: 284.5 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9674, allocations: 0 / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9674, allocations: 2.469 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.9674, allocations: 0 / 1.045 GB, free: 55.21 MB / 0.698 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.0006754/0.9681, allocations: 444.4 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.9682, allocations: 13 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.9683, allocations: 14.53 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.9685, allocations: 216.8 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.9686, allocations: 7.812 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.9686, allocations: 8.406 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.9689, allocations: 94.77 kB / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9689, allocations: 192 / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.9689, allocations: 8.812 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.9689, allocations: 3.594 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.969, allocations: 48.03 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.9694, allocations: 248.2 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.9695, allocations: 113.3 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.9697, allocations: 73.25 kB / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.9697, allocations: 0 / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.97, allocations: 141.9 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.97, allocations: 0 / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0005051/0.9705, allocations: 214.5 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.9706, allocations: 126.3 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.9708, allocations: 139.9 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.9708, allocations: 39.39 kB / 1.046 GB, free: 53.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.9709, allocations: 93.2 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/0.971, allocations: 55.66 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.971, allocations: 4 kB / 1.047 GB, free: 53.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.9712, allocations: 326.8 kB / 1.047 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.9713, allocations: 56.59 kB / 1.047 GB, free: 53.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.9715, allocations: 173.2 kB / 1.047 GB, free: 53.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.9718, allocations: 137.4 kB / 1.047 GB, free: 52.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9718, allocations: 0 / 1.047 GB, free: 52.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000345/0.9721, allocations: 197.9 kB / 1.047 GB, free: 52.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9722, allocations: 5.094 kB / 1.047 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.9722, allocations: 6.828 kB / 1.047 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.9722, allocations: 4.594 kB / 1.047 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.9724, allocations: 18.47 kB / 1.047 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9724, allocations: 3.125 kB / 1.047 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.9726, allocations: 60.42 kB / 1.048 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.9727, allocations: 5.594 kB / 1.048 GB, free: 52.82 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.9728, allocations: 141.3 kB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.9728, allocations: 14.22 kB / 1.048 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.9729, allocations: 13.56 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9729, allocations: 2.719 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.9729, allocations: 0 / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9729, allocations: 5.062 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.9732, allocations: 209.8 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9732, allocations: 1.406 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.9732, allocations: 14.22 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9732, allocations: 0 / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.9732, allocations: 5.25 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.9733, allocations: 3.406 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9733, allocations: 240 / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.9736, allocations: 219.3 kB / 1.048 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.9736, allocations: 92.7 kB / 1.048 GB, free: 52.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.9737, allocations: 6.406 kB / 1.048 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.9737, allocations: 9.062 kB / 1.048 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.9738, allocations: 11.05 kB / 1.048 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.9738, allocations: 6.688 kB / 1.048 GB, free: 52.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.9739, allocations: 108.5 kB / 1.048 GB, free: 52.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9739, allocations: 0 / 1.048 GB, free: 52.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004239/0.9743, allocations: 108.1 kB / 1.048 GB, free: 52.1 MB / 0.698 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.0003617/0.9747, allocations: 200.6 kB / 1.049 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.975, allocations: 223.7 kB / 1.049 GB, free: 51.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.975, allocations: 0 / 1.049 GB, free: 51.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.9751, allocations: 51.7 kB / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.9754, allocations: 15.5 kB / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.9759, allocations: 278.6 kB / 1.049 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.9761, allocations: 0.7197 MB / 1.05 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.9762, allocations: 10.92 kB / 1.05 GB, free: 50.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.9762, allocations: 15.25 kB / 1.05 GB, free: 50.89 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/0.9762, allocations: 0 / 1.05 GB, free: 50.89 MB / 0.698 GB Notification: Performance of Templates: time 0.007336/0.9835, allocations: 2.935 MB / 1.053 GB, free: 50.64 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)