Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_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.001418/0.001418, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001829/0.001829, allocations: 191.5 kB / 16.25 MB, free: 6.152 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.83 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5807, allocations: 140.4 MB / 0.9492 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002171/0.5829, allocations: 1.537 MB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.5838, allocations: 0.6988 MB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.5838, allocations: 1.281 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.181e-05/0.5839, allocations: 9.297 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.5839, allocations: 10.58 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.5847, allocations: 306.5 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.5849, allocations: 176.6 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.5849, allocations: 12.59 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.585, allocations: 70.17 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.5851, allocations: 54.19 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.5851, allocations: 11.66 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.5854, allocations: 245.5 kB / 0.9523 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.5855, allocations: 34.47 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.5855, allocations: 67.61 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.5858, allocations: 302.8 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5859, allocations: 1.219 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5859, allocations: 4 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5859, allocations: 0 / 0.9527 GB, free: 6.512 MB / 0.7169 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.0004788/0.5864, allocations: 472.8 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5864, allocations: 14.69 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.5864, allocations: 36.33 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.5865, allocations: 19.53 kB / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.5866, allocations: 204.9 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5867, allocations: 4.844 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5867, allocations: 20.36 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.5869, allocations: 97.33 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5869, allocations: 7.875 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5869, allocations: 5.188 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5869, allocations: 1.344 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.587, allocations: 46.69 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.5872, allocations: 258.5 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5873, allocations: 108.2 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.5874, allocations: 67.61 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.5874, allocations: 1.125 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.5876, allocations: 143.9 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.5876, allocations: 0 / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003601/0.588, allocations: 216.3 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.5881, allocations: 114 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.5881, allocations: 137.9 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.5882, allocations: 43.33 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.5882, allocations: 93.08 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.5883, allocations: 63.48 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.5883, allocations: 56.08 kB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.5884, allocations: 331.7 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.5885, allocations: 49.52 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.5886, allocations: 179.4 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5888, allocations: 133.1 kB / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5888, allocations: 0 / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002604/0.5891, allocations: 205.3 kB / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5891, allocations: 9.5 kB / 0.9557 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5891, allocations: 4.156 kB / 0.9557 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.5891, allocations: 5.453 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.5892, allocations: 10.12 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5892, allocations: 1.125 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.5895, allocations: 50.52 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5895, allocations: 13.91 kB / 0.9557 GB, free: 3.781 MB / 0.7169 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 9.202e-05/0.5896, allocations: 149.7 kB / 0.9559 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.5896, allocations: 8.969 kB / 0.9559 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.5896, allocations: 16.53 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5897, allocations: 1.406 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5897, allocations: 1.25 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5897, allocations: 5.172 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.5898, allocations: 210 kB / 0.9561 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5898, allocations: 0 / 0.9561 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.5898, allocations: 17.45 kB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5899, allocations: 1.438 kB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5899, allocations: 5.5 kB / 0.9561 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5899, allocations: 5.406 kB / 0.9561 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5899, allocations: 6.375 kB / 0.9561 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.5901, allocations: 206.3 kB / 0.9563 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.5901, allocations: 93.36 kB / 0.9564 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.5902, allocations: 1.594 kB / 0.9564 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.5902, allocations: 18.97 kB / 0.9565 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.5903, allocations: 13.8 kB / 0.9565 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.5903, allocations: 4.344 kB / 0.9565 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.5903, allocations: 108.2 kB / 0.9566 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5903, allocations: 0 / 0.9566 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003331/0.5907, allocations: 102.6 kB / 0.9567 GB, free: 2.988 MB / 0.7169 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.0005675/0.5912, allocations: 0.8464 MB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.5915, allocations: 223.5 kB / 0.9577 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5916, allocations: 0 / 0.9577 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.5916, allocations: 57.08 kB / 0.9578 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.5918, allocations: 11.44 kB / 0.9578 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.5933, allocations: 1.839 MB / 0.9596 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.5934, allocations: 0.7052 MB / 0.9603 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.5935, allocations: 13.12 kB / 0.9603 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.5935, allocations: 34.3 kB / 0.9603 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5935, allocations: 0 / 0.9603 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.6092, allocations: 4.447 MB / 0.9646 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.6094, allocations: 228.1 kB / 0.9649 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.362, allocations: 0 / 0.9649 GB, free: 13.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)