Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 112.2 kB / 16.37 MB, free: 6 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.001111/0.001111, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.26 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 1.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001455/0.001455, allocations: 59.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2377, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002659/0.2404, allocations: 1.502 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2415, allocations: 0.6889 MB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2416, allocations: 0 / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.362e-05/0.2417, allocations: 11.92 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.2418, allocations: 15.8 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2428, allocations: 347 kB / 0.7873 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2431, allocations: 167.7 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.2431, allocations: 8 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2432, allocations: 67.83 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.2433, allocations: 51.75 kB / 0.7876 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.2433, allocations: 12 kB / 0.7876 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2437, allocations: 255.7 kB / 0.7878 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.2438, allocations: 31.91 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.2439, allocations: 75.69 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4559/0.6997, allocations: 299.9 kB / 0.7882 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6998, allocations: 0 / 0.7882 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6998, allocations: 0 / 0.7882 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6998, allocations: 2.688 kB / 0.7882 GB, free: 46.77 MB / 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.0005832/0.7004, allocations: 467.3 kB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7004, allocations: 11.56 kB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.7005, allocations: 12.91 kB / 0.7887 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.7007, allocations: 211.5 kB / 0.7889 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.7007, allocations: 7.375 kB / 0.7889 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.7008, allocations: 13.38 kB / 0.7889 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.701, allocations: 100.8 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.701, allocations: 0.8438 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.701, allocations: 7.875 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.701, allocations: 5.406 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.7011, allocations: 40.3 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.7013, allocations: 251.3 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7014, allocations: 116.2 kB / 0.7894 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.7015, allocations: 69.56 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.7015, allocations: 5.141 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.7018, allocations: 138.1 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.7018, allocations: 1.938 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.0003828/0.7022, allocations: 216.2 kB / 0.7898 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.7023, allocations: 115.2 kB / 0.7899 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.7024, allocations: 141.1 kB / 0.7901 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.7024, allocations: 38.3 kB / 0.7901 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.7025, allocations: 97.62 kB / 0.7902 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.7025, allocations: 56.73 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.7026, allocations: 66.38 kB / 0.7903 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.7027, allocations: 322.8 kB / 0.7906 GB, free: 45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.7028, allocations: 48.52 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.703, allocations: 183.7 kB / 0.7908 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.7032, allocations: 134.4 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7032, allocations: 2.625 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002694/0.7034, allocations: 197.1 kB / 0.7911 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7035, allocations: 6.594 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.7035, allocations: 13.44 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7035, allocations: 0 / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7036, allocations: 18.44 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7037, allocations: 5.312 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.7039, allocations: 51.55 kB / 0.7912 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.7039, allocations: 5.859 kB / 0.7912 GB, free: 44.81 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.0001039/0.704, allocations: 137.6 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.704, allocations: 19.28 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.7041, allocations: 14.16 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7041, allocations: 4.078 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7041, allocations: 3.875 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7041, allocations: 0 / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.7042, allocations: 209.1 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7042, allocations: 4.656 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.7043, allocations: 11.58 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7043, allocations: 2.625 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.7043, allocations: 6.094 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7043, allocations: 0.8438 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7043, allocations: 2.625 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.7046, allocations: 209.4 kB / 0.7918 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.7046, allocations: 95.33 kB / 0.7919 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.7047, allocations: 5.438 kB / 0.7919 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.7047, allocations: 13.03 kB / 0.7919 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.7048, allocations: 10.58 kB / 0.792 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.7048, allocations: 4.594 kB / 0.792 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.7049, allocations: 108.2 kB / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7049, allocations: 0.5312 kB / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003638/0.7052, allocations: 102.6 kB / 0.7922 GB, free: 44.21 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.0002874/0.7055, allocations: 206.4 kB / 0.7924 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.7058, allocations: 222.6 kB / 0.7926 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7058, allocations: 2.625 kB / 0.7926 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.46e-05/0.7059, allocations: 55.16 kB / 0.7926 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.7061, allocations: 13.36 kB / 0.7926 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.7065, allocations: 268.2 kB / 0.7929 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.7067, allocations: 0.7107 MB / 0.7936 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.7067, allocations: 14.25 kB / 0.7936 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.7067, allocations: 3.562 kB / 0.7936 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.004708/0.7114, allocations: 3.101 MB / 0.7966 GB, free: 42.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)