Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.699/2.699, allocations: 248.5 MB / 261.1 MB, free: 6.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 173.6 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 98.41 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.768e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2205, allocations: 106.3 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8441/1.065, allocations: 132.1 MB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.065, allocations: 73.89 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02511/1.09, allocations: 4.624 MB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.09, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.09, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001868/1.092, allocations: 0.6249 MB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.092, allocations: 8.031 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/1.092, allocations: 53.66 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/1.092, allocations: 35.81 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.094, allocations: 324.9 kB / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/1.094, allocations: 27.98 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/1.094, allocations: 43.36 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/1.095, allocations: 323.7 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.095, allocations: 3.938 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/1.095, allocations: 11.36 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.095, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/1.096, allocations: 120.9 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/1.096, allocations: 494.3 kB / 1.026 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/1.097, allocations: 298.2 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/1.098, allocations: 157.3 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/1.098, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008532/1.099, allocations: 366 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.627e-06/1.099, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.001674/1.1, allocations: 0.5193 MB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.1, allocations: 199.1 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.101, allocations: 137 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.101, allocations: 52.64 kB / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.101, allocations: 104.8 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.101, allocations: 94.38 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/1.101, allocations: 18.88 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.101, allocations: 332 kB / 1.028 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/1.102, allocations: 212.8 kB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/1.103, allocations: 272.9 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/1.104, allocations: 310.8 kB / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.104, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002488/1.106, allocations: 0.9246 MB / 1.03 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.106, allocations: 123.1 kB / 1.03 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.106, allocations: 0 / 1.03 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.106, allocations: 4 kB / 1.03 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/1.107, allocations: 27.77 kB / 1.03 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.107, allocations: 8.625 kB / 1.03 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/1.108, allocations: 123.2 kB / 1.03 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.108, allocations: 34.48 kB / 1.03 GB, free: 8.996 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.000346/1.108, allocations: 166.3 kB / 1.031 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/1.108, allocations: 23.8 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/1.108, allocations: 18.5 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.108, allocations: 11.94 kB / 1.031 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.108, allocations: 0 / 1.031 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.108, allocations: 3.984 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/1.109, allocations: 322.3 kB / 1.031 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.109, allocations: 0 / 1.031 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/1.109, allocations: 19.98 kB / 1.031 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.109, allocations: 7.938 kB / 1.031 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/1.109, allocations: 15.78 kB / 1.031 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.109, allocations: 7.984 kB / 1.031 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.109, allocations: 7.938 kB / 1.031 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/1.111, allocations: 0.6174 MB / 1.032 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/1.111, allocations: 96.88 kB / 1.032 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.111, allocations: 29.8 kB / 1.032 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/1.111, allocations: 27.41 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.112, allocations: 34.64 kB / 1.032 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/1.112, allocations: 35.33 kB / 1.032 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000114/1.112, allocations: 105 kB / 1.032 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.112, allocations: 0 / 1.032 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007813/1.113, allocations: 127.2 kB / 1.032 GB, free: 7.422 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.002237/1.115, allocations: 1.582 MB / 1.034 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.117, allocations: 0.9349 MB / 1.034 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.117, allocations: 4 kB / 1.034 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/1.118, allocations: 211.8 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.118, allocations: 15.55 kB / 1.035 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.119, allocations: 440.8 kB / 1.035 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.12, allocations: 0.7293 MB / 1.036 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001247/1.12, allocations: 18.08 kB / 1.036 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/1.12, allocations: 49.11 kB / 1.036 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of SimCode: time 3.207e-06/1.12, allocations: 0 / 1.036 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/1.159, allocations: 6.344 MB / 1.042 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/1.159, allocations: 189.3 kB / 1.042 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.717, allocations: 3.5 kB / 1.042 GB, free: 13.54 MB / 0.6667 GB