Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8673/0.8673, 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.001148/0.001148, allocations: 187.6 kB / 191.9 MB, free: 5.707 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.319/1.319, allocations: 222.9 MB / 447.3 MB, free: 5.875 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.0009888/0.0009887, allocations: 107.8 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 276.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3064, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002134/0.3086, allocations: 1.539 MB / 0.7694 GB, free: 26.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.3095, allocations: 0.736 MB / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.3095, allocations: 0 / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.764e-05/0.3096, allocations: 3.984 kB / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.3096, allocations: 15.86 kB / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.3103, allocations: 289.4 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3105, allocations: 163.6 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3105, allocations: 12 kB / 0.7706 GB, free: 24.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.472e-05/0.3106, allocations: 63.77 kB / 0.7707 GB, free: 24.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.3107, allocations: 47.83 kB / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.3107, allocations: 4 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.3109, allocations: 239.8 kB / 0.7709 GB, free: 24.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.311, allocations: 39.88 kB / 0.771 GB, free: 24.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.3111, allocations: 47.73 kB / 0.771 GB, free: 24.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.3114, allocations: 306 kB / 0.7713 GB, free: 24.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3114, allocations: 0 / 0.7713 GB, free: 24.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3114, allocations: 4 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.3114, allocations: 0 / 0.7713 GB, free: 24.18 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.0004785/0.3119, allocations: 471 kB / 0.7718 GB, free: 23.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3119, allocations: 12.03 kB / 0.7718 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.312, allocations: 12.78 kB / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3121, allocations: 221.6 kB / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3122, allocations: 8.375 kB / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3122, allocations: 8.375 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3123, allocations: 100.7 kB / 0.7721 GB, free: 23.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3123, allocations: 192 / 0.7721 GB, free: 23.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3124, allocations: 7.938 kB / 0.7721 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3124, allocations: 0 / 0.7721 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.3125, allocations: 47.97 kB / 0.7722 GB, free: 23.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.3127, allocations: 255.3 kB / 0.7724 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3128, allocations: 115.8 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.3128, allocations: 74.7 kB / 0.7726 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3129, allocations: 0 / 0.7726 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.3131, allocations: 141.7 kB / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.3131, allocations: 0 / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003257/0.3134, allocations: 209.5 kB / 0.7729 GB, free: 22.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3135, allocations: 118.8 kB / 0.773 GB, free: 22.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.3135, allocations: 139 kB / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3136, allocations: 41.69 kB / 0.7732 GB, free: 21.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.3136, allocations: 100.7 kB / 0.7733 GB, free: 21.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3137, allocations: 55.28 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.3137, allocations: 61.62 kB / 0.7734 GB, free: 21.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.3138, allocations: 326.8 kB / 0.7737 GB, free: 21.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.3139, allocations: 56.25 kB / 0.7738 GB, free: 21.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.314, allocations: 181 kB / 0.774 GB, free: 21.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3142, allocations: 126.6 kB / 0.7741 GB, free: 21.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3142, allocations: 0 / 0.7741 GB, free: 21.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002251/0.3144, allocations: 209.1 kB / 0.7743 GB, free: 20.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3144, allocations: 4 kB / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.3145, allocations: 8 kB / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3145, allocations: 8 kB / 0.7743 GB, free: 20.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.3146, allocations: 11.98 kB / 0.7743 GB, free: 20.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3146, allocations: 4 kB / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3148, allocations: 43.8 kB / 0.7744 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3148, allocations: 8 kB / 0.7744 GB, free: 20.72 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 8.405e-05/0.3149, allocations: 140 kB / 0.7745 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.3149, allocations: 15.75 kB / 0.7745 GB, free: 20.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.3149, allocations: 16.72 kB / 0.7745 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3149, allocations: 4 kB / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.315, allocations: 0 / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.315, allocations: 3.938 kB / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.3151, allocations: 209.5 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3151, allocations: 0 / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.3151, allocations: 12 kB / 0.7748 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3151, allocations: 0 / 0.7748 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3152, allocations: 12.06 kB / 0.7748 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3152, allocations: 0 / 0.7748 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3152, allocations: 4 kB / 0.7748 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3156, allocations: 0.8205 MB / 0.7756 GB, free: 19.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3156, allocations: 92.94 kB / 0.7757 GB, free: 19.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3156, allocations: 0 / 0.7757 GB, free: 19.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.3157, allocations: 12 kB / 0.7757 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3157, allocations: 11.98 kB / 0.7757 GB, free: 19.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3157, allocations: 4 kB / 0.7757 GB, free: 19.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.3158, allocations: 108.8 kB / 0.7758 GB, free: 19.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3158, allocations: 0 / 0.7758 GB, free: 19.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.3162, allocations: 103.9 kB / 0.7759 GB, free: 19.03 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.0002426/0.3164, allocations: 204.8 kB / 0.7761 GB, free: 18.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3167, allocations: 226.9 kB / 0.7763 GB, free: 18.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3167, allocations: 3.938 kB / 0.7763 GB, free: 18.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.3168, allocations: 51.92 kB / 0.7764 GB, free: 18.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.3169, allocations: 8 kB / 0.7764 GB, free: 18.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.3174, allocations: 437.3 kB / 0.7768 GB, free: 18.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3175, allocations: 0.7126 MB / 0.7775 GB, free: 17.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.3176, allocations: 8.891 kB / 0.7775 GB, free: 17.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.3176, allocations: 23.42 kB / 0.7775 GB, free: 17.28 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3176, allocations: 0 / 0.7775 GB, free: 17.28 MB / 458.7 MB Notification: Performance of Templates: time 0.004802/0.3224, allocations: 3.021 MB / 0.7805 GB, free: 14.32 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)