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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.853/1.853, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001447/0.001447, allocations: 65.98 kB / 0.6718 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2638, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003539/0.2674, allocations: 1.503 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2686, allocations: 0.6812 MB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.2687, allocations: 0 / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.778e-05/0.2688, allocations: 19.86 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.2689, allocations: 11.86 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.2699, allocations: 342.5 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.2701, allocations: 171.6 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.2702, allocations: 7.984 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.2703, allocations: 71.83 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.2704, allocations: 51.83 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.2705, allocations: 15.98 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.2709, allocations: 255.7 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.2709, allocations: 35.89 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2711, allocations: 59.78 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.2715, allocations: 295.6 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2715, allocations: 0 / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2715, allocations: 0 / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2715, allocations: 0 / 0.787 GB, free: 9.75 MB / 0.6075 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.0007553/0.2723, allocations: 486.9 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2723, allocations: 15.97 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2724, allocations: 34.75 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.2724, allocations: 16.78 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2727, allocations: 209 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2727, allocations: 12.36 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.2727, allocations: 8.375 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2729, allocations: 108.5 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.273, allocations: 3.938 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.273, allocations: 0 / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.273, allocations: 4 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2731, allocations: 47.91 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.2734, allocations: 243.3 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2736, allocations: 111.9 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2737, allocations: 74.66 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2737, allocations: 4 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.274, allocations: 141.8 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.2741, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0004814/0.2745, allocations: 213.4 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.2746, allocations: 118.8 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2748, allocations: 137.7 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.2748, allocations: 33.7 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.2749, allocations: 108.7 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.2749, allocations: 47.36 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.275, allocations: 61.69 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2752, allocations: 326.8 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.2753, allocations: 56.25 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2755, allocations: 176.5 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2757, allocations: 142.5 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2757, allocations: 0 / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003023/0.276, allocations: 197.3 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2761, allocations: 4 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.2761, allocations: 4 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2761, allocations: 4 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.2762, allocations: 16 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2762, allocations: 3.984 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.2765, allocations: 54.94 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2765, allocations: 4 kB / 0.7901 GB, free: 6.242 MB / 0.6075 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.0001336/0.2766, allocations: 144 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.2767, allocations: 7.906 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.2767, allocations: 20.7 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2767, allocations: 4 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2767, allocations: 4 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2768, allocations: 3.938 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.277, allocations: 213.4 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.277, allocations: 0 / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.277, allocations: 19.88 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2771, allocations: 4 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2771, allocations: 0 / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2771, allocations: 4 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2771, allocations: 3.984 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.2775, allocations: 207.6 kB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.2775, allocations: 92.86 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2775, allocations: 4 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.2776, allocations: 11.92 kB / 0.7908 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.2777, allocations: 15.92 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.2777, allocations: 8 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.042e-05/0.2777, allocations: 106.2 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2778, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003638/0.2781, allocations: 104 kB / 0.7911 GB, free: 5.184 MB / 0.6075 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.0007844/0.2789, allocations: 0.8474 MB / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.2793, allocations: 217 kB / 0.7921 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2793, allocations: 0 / 0.7921 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2795, allocations: 55.92 kB / 0.7921 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.2797, allocations: 15.92 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2817, allocations: 1.838 MB / 0.794 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.2821, allocations: 0.7123 MB / 0.7946 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.365e-05/0.2822, allocations: 8.891 kB / 0.7947 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.2823, allocations: 31.42 kB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2823, allocations: 4 kB / 0.7947 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3045, allocations: 4.583 MB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.637, allocations: 12.83 kB / 0.7992 GB, free: 12.84 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)