Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001378/0.001378, allocations: 104.4 kB / 16.29 MB, free: 6.031 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.001496/0.001496, allocations: 182.7 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.077/2.077, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3448, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003392/0.3482, allocations: 1.487 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3496, allocations: 0.6928 MB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.3497, allocations: 0 / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3498, allocations: 15.86 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.3499, allocations: 7.875 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.351, allocations: 342.2 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.3513, allocations: 179.6 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.3514, allocations: 8 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.3515, allocations: 75.81 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.3516, allocations: 43.78 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.3516, allocations: 12 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.352, allocations: 251.7 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.3521, allocations: 35.91 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3522, allocations: 63.7 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.3527, allocations: 299.6 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3527, allocations: 4 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3527, allocations: 0 / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.3527, allocations: 0 / 0.7875 GB, free: 356 kB / 0.6544 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.6895/1.042, allocations: 473.8 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.042, allocations: 11.14 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/1.042, allocations: 12.72 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/1.043, allocations: 214.9 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/1.043, allocations: 3.031 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/1.043, allocations: 15.31 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.043, allocations: 99.19 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.043, allocations: 1.875 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.043, allocations: 10.44 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.043, allocations: 0 / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/1.043, allocations: 46.36 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/1.043, allocations: 252.3 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.043, allocations: 111.7 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/1.044, allocations: 78.73 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/1.044, allocations: 2.906 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/1.044, allocations: 134 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/1.044, allocations: 0 / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.0004079/1.044, allocations: 222.6 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.044, allocations: 120.6 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.044, allocations: 137.6 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/1.044, allocations: 39.38 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/1.045, allocations: 98.52 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/1.045, allocations: 56.53 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/1.045, allocations: 58.92 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/1.045, allocations: 330.1 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/1.045, allocations: 47.58 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.045, allocations: 179.6 kB / 0.7901 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/1.045, allocations: 135 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.045, allocations: 0.5312 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002758/1.046, allocations: 201 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.046, allocations: 5.031 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/1.046, allocations: 4.031 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.046, allocations: 3.938 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.046, allocations: 16.38 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.046, allocations: 2.906 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.046, allocations: 54.2 kB / 0.7905 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1.046, allocations: 7.812 kB / 0.7905 GB, free: 47.03 MB / 0.6544 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.0001117/1.046, allocations: 146.6 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/1.046, allocations: 13.31 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/1.046, allocations: 13.31 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.046, allocations: 3.141 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.046, allocations: 2.625 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.046, allocations: 0.6562 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/1.046, allocations: 212.6 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.046, allocations: 3.734 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/1.046, allocations: 12.41 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.046, allocations: 2.719 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.046, allocations: 0 / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.046, allocations: 1.5 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.046, allocations: 3.906 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/1.047, allocations: 215.9 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/1.047, allocations: 92.23 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/1.047, allocations: 6.562 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/1.047, allocations: 7.188 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/1.047, allocations: 14.92 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.047, allocations: 12.88 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.258e-05/1.047, allocations: 103.4 kB / 0.7913 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/1.047, allocations: 0 / 0.7913 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003778/1.047, allocations: 103.2 kB / 0.7914 GB, free: 46.44 MB / 0.6544 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.0003359/1.048, allocations: 201.6 kB / 0.7916 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003365/1.048, allocations: 231.1 kB / 0.7919 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.048, allocations: 0.5 kB / 0.7919 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/1.048, allocations: 58.27 kB / 0.7919 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/1.048, allocations: 8.75 kB / 0.7919 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/1.049, allocations: 235.2 kB / 0.7921 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/1.049, allocations: 0.7116 MB / 0.7928 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.786e-05/1.049, allocations: 11.25 kB / 0.7928 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/1.049, allocations: 16.62 kB / 0.7929 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/1.049, allocations: 3.75 kB / 0.7929 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.006195/1.055, allocations: 3.071 MB / 0.7959 GB, free: 45.26 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)