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.001659/0.001659, allocations: 108 kB / 15.6 MB, free: 132 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.001761/0.00176, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.586/2.586, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 66.31 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002539/0.2482, allocations: 1.485 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2493, allocations: 0.6908 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.2493, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.189e-05/0.2494, allocations: 11.86 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.2495, allocations: 15.86 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.2503, allocations: 342.4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2505, allocations: 175.6 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.2506, allocations: 8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.2506, allocations: 67.84 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.2507, allocations: 47.81 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.2508, allocations: 12 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2511, allocations: 247.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.2512, allocations: 39.89 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.2513, allocations: 63.72 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.2516, allocations: 299.6 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2517, allocations: 4 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2517, allocations: 0 / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2517, allocations: 0 / 1.067 GB, free: 10.7 MB / 0.8262 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.0005857/0.2523, allocations: 478.9 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2523, allocations: 12.02 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.2524, allocations: 42.69 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2524, allocations: 16.84 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2526, allocations: 210 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2526, allocations: 4.375 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.2527, allocations: 16.38 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.2528, allocations: 96.73 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2529, allocations: 3.938 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2529, allocations: 11.92 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2529, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.253, allocations: 43.92 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2532, allocations: 251.4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.2534, allocations: 111.8 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2535, allocations: 66.67 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2535, allocations: 7.984 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.2537, allocations: 145.7 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.2537, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0003842/0.2541, allocations: 209.5 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.2542, allocations: 110.8 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2544, allocations: 147.1 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.2544, allocations: 41.7 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2545, allocations: 96.64 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.2545, allocations: 59.33 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.2546, allocations: 61.69 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2548, allocations: 326.8 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.2549, allocations: 44.27 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2551, allocations: 188.4 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2553, allocations: 130.5 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2553, allocations: 0 / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003114/0.2556, allocations: 205.2 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2556, allocations: 8 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2556, allocations: 7.984 kB / 1.07 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2557, allocations: 4 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.2557, allocations: 8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2558, allocations: 4.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.256, allocations: 45.17 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.256, allocations: 12 kB / 1.071 GB, free: 7.188 MB / 0.8262 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.0001275/0.2561, allocations: 144 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2561, allocations: 15.81 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.2562, allocations: 20.64 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2562, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2562, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2562, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2564, allocations: 209.5 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2564, allocations: 4.141 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.2564, allocations: 11.94 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2564, allocations: 3.984 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2565, allocations: 16 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2565, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2565, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2568, allocations: 214.5 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.2568, allocations: 88.95 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2568, allocations: 4 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.2569, allocations: 15.92 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.2569, allocations: 11.94 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.257, allocations: 7.984 kB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.257, allocations: 109 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.257, allocations: 0 / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003074/0.2574, allocations: 99.98 kB / 1.071 GB, free: 6.129 MB / 0.8262 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.0007309/0.2581, allocations: 0.8458 MB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.2584, allocations: 221 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2584, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.2585, allocations: 63.91 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2587, allocations: 12.5 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2605, allocations: 1.803 MB / 1.074 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2609, allocations: 0.7086 MB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2609, allocations: 8.891 kB / 1.075 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.2609, allocations: 35.42 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2609, allocations: 0 / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3549/0.6159, allocations: 4.568 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.752, allocations: 9.812 kB / 1.08 GB, free: 13.83 MB / 0.8419 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)