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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.763/0.763, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 184.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.2 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 275 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 75.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 81.28 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002066/0.2936, allocations: 1.549 MB / 0.7694 GB, free: 26.1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.2945, allocations: 0.7204 MB / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.2945, allocations: 0 / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.553e-05/0.2946, allocations: 11.92 kB / 0.7701 GB, free: 25.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.2947, allocations: 3.938 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.2953, allocations: 295.9 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.2955, allocations: 167.6 kB / 0.7706 GB, free: 24.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.2956, allocations: 12 kB / 0.7706 GB, free: 24.9 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.2956, allocations: 59.84 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.2957, allocations: 47.81 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2957, allocations: 8 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.296, allocations: 247.7 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.296, allocations: 31.91 kB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.2961, allocations: 63.69 kB / 0.771 GB, free: 24.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2964, allocations: 298 kB / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2964, allocations: 0 / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2964, allocations: 0 / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.2964, allocations: 0 / 0.7713 GB, free: 24.16 MB / 458.7 MB 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.0004453/0.2968, allocations: 471 kB / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.2969, allocations: 12.03 kB / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.2969, allocations: 16.84 kB / 0.7718 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2971, allocations: 213.6 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2971, allocations: 4.375 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.2971, allocations: 12.38 kB / 0.772 GB, free: 23.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.2973, allocations: 92.8 kB / 0.7721 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2973, allocations: 192 / 0.7721 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2973, allocations: 11.94 kB / 0.7721 GB, free: 23.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2973, allocations: 4 kB / 0.7721 GB, free: 23.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.2974, allocations: 47.91 kB / 0.7722 GB, free: 23.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.2976, allocations: 251.3 kB / 0.7724 GB, free: 22.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2977, allocations: 103.8 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.2978, allocations: 74.7 kB / 0.7726 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2978, allocations: 4 kB / 0.7726 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.298, allocations: 143.6 kB / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.298, allocations: 0 / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003217/0.2983, allocations: 214.2 kB / 0.7729 GB, free: 22.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2984, allocations: 122.7 kB / 0.773 GB, free: 22.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.2984, allocations: 139 kB / 0.7732 GB, free: 22.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2985, allocations: 41.69 kB / 0.7732 GB, free: 21.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.2985, allocations: 92.7 kB / 0.7733 GB, free: 21.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.2986, allocations: 63.22 kB / 0.7734 GB, free: 21.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.2986, allocations: 65.62 kB / 0.7734 GB, free: 21.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.2987, allocations: 334.8 kB / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.2988, allocations: 44.27 kB / 0.7738 GB, free: 21.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2989, allocations: 177.1 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2991, allocations: 130.5 kB / 0.7741 GB, free: 21.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2991, allocations: 0 / 0.7741 GB, free: 21.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002345/0.2993, allocations: 209.2 kB / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2993, allocations: 9.562 kB / 0.7743 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.2993, allocations: 4 kB / 0.7743 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2994, allocations: 0 / 0.7743 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.2994, allocations: 19.92 kB / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2995, allocations: 240 / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2997, allocations: 51.8 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2997, allocations: 8 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB 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 7.869e-05/0.2998, allocations: 145.5 kB / 0.7745 GB, free: 20.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.2998, allocations: 15.75 kB / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.2998, allocations: 16.72 kB / 0.7745 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2998, allocations: 0 / 0.7745 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2998, allocations: 4 kB / 0.7745 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2998, allocations: 0 / 0.7745 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.2999, allocations: 205.5 kB / 0.7747 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2999, allocations: 4 kB / 0.7747 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3, allocations: 8 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3, allocations: 7.984 kB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3, allocations: 4 kB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3, allocations: 3.984 kB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3, allocations: 4 kB / 0.7748 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.3004, allocations: 0.8166 MB / 0.7756 GB, free: 19.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.3004, allocations: 88.95 kB / 0.7756 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3005, allocations: 12 kB / 0.7757 GB, free: 19.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.3005, allocations: 4 kB / 0.7757 GB, free: 19.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3006, allocations: 11.92 kB / 0.7757 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3006, allocations: 8 kB / 0.7757 GB, free: 19.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.3006, allocations: 103.2 kB / 0.7758 GB, free: 19.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3006, allocations: 4 kB / 0.7758 GB, free: 19.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.301, allocations: 103.9 kB / 0.7759 GB, free: 19.01 MB / 458.7 MB 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.0002203/0.3012, allocations: 199.9 kB / 0.7761 GB, free: 18.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3015, allocations: 216.9 kB / 0.7763 GB, free: 18.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3015, allocations: 3.938 kB / 0.7763 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.3015, allocations: 63.91 kB / 0.7763 GB, free: 18.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3017, allocations: 13.56 kB / 0.7764 GB, free: 18.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.3021, allocations: 441.2 kB / 0.7768 GB, free: 18.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3022, allocations: 0.7126 MB / 0.7775 GB, free: 17.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.3023, allocations: 17.14 kB / 0.7775 GB, free: 17.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.3023, allocations: 11.44 kB / 0.7775 GB, free: 17.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3023, allocations: 0 / 0.7775 GB, free: 17.26 MB / 458.7 MB Notification: Performance of Templates: time 0.004393/0.3067, allocations: 3.014 MB / 0.7804 GB, free: 14.31 MB / 458.7 MB 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)