Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 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_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_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.005062/0.005067, allocations: 97.64 kB / 15.73 MB, free: 6.055 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.001355/0.001355, allocations: 197.2 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 71.81 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2703, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002546/0.2729, allocations: 1.475 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2741, allocations: 0.689 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.2741, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.2742, allocations: 11.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.2743, allocations: 19.84 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.2752, allocations: 346.3 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.2755, allocations: 175.6 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.2755, allocations: 7.984 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.2756, allocations: 75.81 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2757, allocations: 47.81 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.2758, allocations: 12 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.2761, allocations: 243.8 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.2762, allocations: 47.83 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.2763, allocations: 55.72 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.2767, allocations: 307.1 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2768, allocations: 0 / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2768, allocations: 4 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2768, allocations: 0 / 1.224 GB, free: 10.8 MB / 0.9825 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.0006356/0.2774, allocations: 478.5 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2775, allocations: 8.031 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.2775, allocations: 42.73 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2776, allocations: 12.89 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.2778, allocations: 216.1 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2778, allocations: 12.31 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2778, allocations: 12.38 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.278, allocations: 102.7 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.278, allocations: 3.938 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.278, allocations: 3.984 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.278, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.2781, allocations: 51.91 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.2784, allocations: 247.4 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2786, allocations: 107.9 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.2787, allocations: 66.67 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2787, allocations: 11.94 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.2789, allocations: 146.7 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2789, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0003927/0.2793, allocations: 213.5 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.2794, allocations: 118.7 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2796, allocations: 149.8 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2796, allocations: 33.7 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.2797, allocations: 92.7 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.2797, allocations: 63.52 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.2798, allocations: 57.7 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.28, allocations: 330.8 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.2801, allocations: 48.27 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2803, allocations: 184.5 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.2805, allocations: 134.5 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2805, allocations: 4 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002983/0.2808, allocations: 197.4 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2809, allocations: 8 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.2809, allocations: 4 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2809, allocations: 3.984 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.281, allocations: 19.94 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.281, allocations: 0 / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.2812, allocations: 53.98 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2812, allocations: 4 kB / 1.227 GB, free: 7.285 MB / 0.9825 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.0001287/0.2814, allocations: 152.6 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.2814, allocations: 15.91 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2814, allocations: 12.72 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2814, allocations: 0 / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2815, allocations: 0 / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2815, allocations: 7.984 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2817, allocations: 209.4 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2817, allocations: 0 / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.2817, allocations: 11.98 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2817, allocations: 4 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2817, allocations: 8 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2817, allocations: 0 / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2818, allocations: 4 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.282, allocations: 212.4 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.2821, allocations: 89.02 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2821, allocations: 8 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.2822, allocations: 11.94 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2822, allocations: 7.984 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2822, allocations: 8 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.799e-05/0.2823, allocations: 109.5 kB / 1.227 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2823, allocations: 0 / 1.227 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003243/0.2827, allocations: 103.7 kB / 1.228 GB, free: 6.227 MB / 0.9825 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.000772/0.2834, allocations: 0.8528 MB / 1.228 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.2838, allocations: 217.3 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2838, allocations: 0 / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.2839, allocations: 59.92 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.284, allocations: 14 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.2859, allocations: 1.833 MB / 1.23 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2862, allocations: 0.7084 MB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.2863, allocations: 12.88 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.2863, allocations: 35.42 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2864, allocations: 0 / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3107, allocations: 4.617 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.419, allocations: 1.203 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)