Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001342/0.001342, allocations: 112.4 kB / 16.37 MB, free: 6.348 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.001097/0.001097, allocations: 188.7 kB / 17.3 MB, free: 5.895 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 289 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 96.22 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5244, allocations: 86.97 MB / 0.7669 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002559/0.5271, allocations: 1.48 MB / 0.7684 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.5282, allocations: 0.6907 MB / 0.7691 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.5283, allocations: 0 / 0.7691 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.5284, allocations: 7.922 kB / 0.7691 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.5285, allocations: 15.86 kB / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5295, allocations: 350.4 kB / 0.7694 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.5297, allocations: 175.6 kB / 0.7696 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.5298, allocations: 7.984 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.5299, allocations: 71.88 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.53, allocations: 47.77 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.53, allocations: 12 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.5303, allocations: 251.7 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.5304, allocations: 39.89 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.5305, allocations: 63.72 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.5309, allocations: 303.1 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.5309, allocations: 0 / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.695e-06/0.531, allocations: 0 / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.531, allocations: 0 / 0.7704 GB, free: 372 kB / 0.5294 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.0006519/0.5316, allocations: 473.5 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5317, allocations: 16.03 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.5317, allocations: 8.844 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.532, allocations: 222.3 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.532, allocations: 8.375 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.532, allocations: 16.36 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.5322, allocations: 92.8 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5323, allocations: 192 / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5323, allocations: 7.875 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5323, allocations: 8 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.5324, allocations: 43.91 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.5327, allocations: 243.4 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.5328, allocations: 107.9 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5329, allocations: 78.66 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.533, allocations: 0 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.5332, allocations: 142.3 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.5332, allocations: 0 / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004156/0.5336, allocations: 217.4 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.5337, allocations: 118.8 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.5338, allocations: 140.7 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.5339, allocations: 37.7 kB / 0.7722 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.5339, allocations: 100.7 kB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.534, allocations: 59.28 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.5341, allocations: 57.69 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5342, allocations: 330.8 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.5343, allocations: 52.25 kB / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.5345, allocations: 170 kB / 0.773 GB, free: 13.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.5347, allocations: 142.5 kB / 0.7731 GB, free: 13.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5348, allocations: 0 / 0.7731 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002882/0.535, allocations: 205.3 kB / 0.7733 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5351, allocations: 4 kB / 0.7733 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.5351, allocations: 4 kB / 0.7733 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5351, allocations: 4 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.5352, allocations: 15.88 kB / 0.7733 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5352, allocations: 4 kB / 0.7733 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5355, allocations: 51.78 kB / 0.7734 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.5355, allocations: 8 kB / 0.7734 GB, free: 12.91 MB / 0.545 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.0001222/0.5356, allocations: 138.4 kB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.5356, allocations: 15.75 kB / 0.7735 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.5357, allocations: 20.7 kB / 0.7736 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5357, allocations: 8 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5357, allocations: 0 / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5357, allocations: 0 / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.5359, allocations: 217.4 kB / 0.7738 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5359, allocations: 0 / 0.7738 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.536, allocations: 12 kB / 0.7738 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.536, allocations: 0 / 0.7738 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.536, allocations: 8 kB / 0.7738 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.536, allocations: 0 / 0.7738 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.536, allocations: 0 / 0.7738 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.5363, allocations: 224.5 kB / 0.774 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.5363, allocations: 88.92 kB / 0.7741 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.5364, allocations: 0 / 0.7741 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.5364, allocations: 15.92 kB / 0.7741 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.5365, allocations: 7.984 kB / 0.7741 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5365, allocations: 4 kB / 0.7741 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.46e-05/0.5366, allocations: 103.3 kB / 0.7742 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5366, allocations: 0 / 0.7742 GB, free: 11.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003589/0.5369, allocations: 103.9 kB / 0.7743 GB, free: 11.86 MB / 0.545 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.0003006/0.5373, allocations: 215.4 kB / 0.7745 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5376, allocations: 213 kB / 0.7747 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5376, allocations: 0 / 0.7747 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.5377, allocations: 55.91 kB / 0.7748 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5379, allocations: 8 kB / 0.7748 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.5384, allocations: 275 kB / 0.7751 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.5386, allocations: 0.7123 MB / 0.7758 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.5387, allocations: 15.44 kB / 0.7758 GB, free: 10.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5387, allocations: 0 / 0.7758 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Templates: time 0.005171/0.5438, allocations: 3.117 MB / 0.7788 GB, free: 7.211 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)