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.0009872/0.0009872, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001271/0.001272, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.852/1.852, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005196/0.0005198, allocations: 16.31 kB / 0.6738 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2409, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002027/0.243, allocations: 1.19 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2446, allocations: 0.6557 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.2447, allocations: 4 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.595e-05/0.2448, allocations: 3.938 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.2449, allocations: 11.92 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2461, allocations: 286.5 kB / 0.7895 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2464, allocations: 147.6 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.2464, allocations: 7.984 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.2466, allocations: 59.84 kB / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.2467, allocations: 47.81 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.2467, allocations: 12 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.2471, allocations: 223.8 kB / 0.79 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.2472, allocations: 31.91 kB / 0.79 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.2473, allocations: 45.64 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.2476, allocations: 207.9 kB / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2476, allocations: 0 / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2476, allocations: 0 / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2477, allocations: 0 / 0.7902 GB, free: 8.93 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.0006184/0.2483, allocations: 454.8 kB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2483, allocations: 8.031 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.2484, allocations: 42.55 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.2485, allocations: 15.81 kB / 0.7907 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2487, allocations: 218.7 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2487, allocations: 4 kB / 0.7909 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.2488, allocations: 12 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.249, allocations: 96.23 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.249, allocations: 4 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2491, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2491, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2492, allocations: 47.91 kB / 0.7911 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.2495, allocations: 251.3 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2497, allocations: 111.8 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2498, allocations: 70.7 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.2498, allocations: 0 / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.2501, allocations: 140.8 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.2502, allocations: 0 / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0004469/0.2506, allocations: 217.4 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.2507, allocations: 114.7 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2508, allocations: 144.7 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.2509, allocations: 41.69 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.2509, allocations: 100.7 kB / 0.7922 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.251, allocations: 51.36 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.251, allocations: 0 / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2511, allocations: 334.8 kB / 0.7926 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2513, allocations: 48.27 kB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.2515, allocations: 180.5 kB / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.2516, allocations: 71.92 kB / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2516, allocations: 0 / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002828/0.2519, allocations: 197.3 kB / 0.7931 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2519, allocations: 4 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.252, allocations: 15.98 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.252, allocations: 0 / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.2521, allocations: 15.94 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2521, allocations: 0 / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2523, allocations: 51.8 kB / 0.7932 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2524, allocations: 16 kB / 0.7932 GB, free: 5.578 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.2525, allocations: 144.6 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2525, allocations: 15.81 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.2526, allocations: 16.7 kB / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2526, allocations: 4 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2526, allocations: 144 / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2526, allocations: 3.984 kB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2528, allocations: 209.4 kB / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2528, allocations: 7.984 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.2529, allocations: 8 kB / 0.7936 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2529, allocations: 4 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2529, allocations: 8 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2529, allocations: 0 / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2529, allocations: 0 / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.2532, allocations: 213 kB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.2532, allocations: 96.81 kB / 0.7939 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2533, allocations: 4 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.2533, allocations: 11.98 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2534, allocations: 8 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2534, allocations: 7.984 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.2535, allocations: 102.2 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2535, allocations: 4 kB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003616/0.2539, allocations: 99.98 kB / 0.7941 GB, free: 4.531 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008109/0.2547, allocations: 0.8481 MB / 0.7949 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.255, allocations: 221.3 kB / 0.7951 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.255, allocations: 0 / 0.7951 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.2551, allocations: 55.92 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.2553, allocations: 12.22 kB / 0.7952 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2567, allocations: 0.8615 MB / 0.796 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2569, allocations: 0.7086 MB / 0.7967 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.257, allocations: 12.88 kB / 0.7968 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.2571, allocations: 39.42 kB / 0.7968 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.2571, allocations: 0 / 0.7968 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.2762, allocations: 4.264 MB / 0.801 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.2765, allocations: 219.5 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.13, allocations: 2.953 kB / 0.8012 GB, free: 13.34 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/linux/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) Environment - environmentSimulation: