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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001118/0.001118, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5442, allocations: 140.4 MB / 0.949 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002032/0.5462, allocations: 1.542 MB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.5471, allocations: 0.7312 MB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.5472, allocations: 0 / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.446e-05/0.5472, allocations: 13.05 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.5473, allocations: 10.83 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.5479, allocations: 292 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.5481, allocations: 163.9 kB / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.5482, allocations: 9.094 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.5482, allocations: 65.06 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.5483, allocations: 53.86 kB / 0.9518 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.5483, allocations: 6.156 kB / 0.9518 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.5486, allocations: 242.7 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.5487, allocations: 38.77 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.5487, allocations: 54.16 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.5491, allocations: 293.5 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5491, allocations: 1.312 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5491, allocations: 0 / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.5491, allocations: 0 / 0.9524 GB, free: 6.734 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.0004519/0.5495, allocations: 477.3 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5496, allocations: 8.562 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.5496, allocations: 42.05 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.5497, allocations: 15.03 kB / 0.953 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5498, allocations: 213.2 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5498, allocations: 12.73 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5499, allocations: 8 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.55, allocations: 101.2 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.55, allocations: 3.938 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.55, allocations: 4.875 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.55, allocations: 1.125 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.5501, allocations: 46.44 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.5503, allocations: 247.5 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.5504, allocations: 111.9 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.5505, allocations: 71.42 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.5505, allocations: 5.062 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.5507, allocations: 139.8 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.5507, allocations: 1.031 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003579/0.5511, allocations: 216.4 kB / 0.9541 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.5511, allocations: 118.1 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.5512, allocations: 135.6 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.5513, allocations: 39.36 kB / 0.9544 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.5513, allocations: 105.8 kB / 0.9545 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.5513, allocations: 51.45 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.5514, allocations: 63.81 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.5515, allocations: 323.5 kB / 0.9549 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.5516, allocations: 53.41 kB / 0.9549 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.5517, allocations: 186.4 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5519, allocations: 124.7 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5519, allocations: 0 / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002545/0.5522, allocations: 207.4 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5522, allocations: 4.594 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.5522, allocations: 7.625 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5522, allocations: 6.219 kB / 0.9555 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.5523, allocations: 22.8 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5523, allocations: 0 / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.5525, allocations: 52.95 kB / 0.9555 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5525, allocations: 3.188 kB / 0.9555 GB, free: 4 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 8.32e-05/0.5526, allocations: 145.4 kB / 0.9557 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.5526, allocations: 13.17 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.5527, allocations: 19.88 kB / 0.9557 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5527, allocations: 2 kB / 0.9557 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5527, allocations: 1.156 kB / 0.9557 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5527, allocations: 1.5 kB / 0.9557 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.5528, allocations: 213.9 kB / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5528, allocations: 0 / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.5529, allocations: 9 kB / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5529, allocations: 1.75 kB / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5529, allocations: 5.766 kB / 0.9559 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5529, allocations: 1.812 kB / 0.9559 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5529, allocations: 1.812 kB / 0.9559 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5531, allocations: 218.2 kB / 0.9561 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.5532, allocations: 96.92 kB / 0.9562 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.5532, allocations: 6.734 kB / 0.9562 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.5533, allocations: 6 kB / 0.9562 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.5533, allocations: 13.55 kB / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5533, allocations: 7.75 kB / 0.9563 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.5534, allocations: 108.8 kB / 0.9564 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5534, allocations: 0 / 0.9564 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003284/0.5537, allocations: 102.4 kB / 0.9565 GB, free: 3.207 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.0005417/0.5543, allocations: 0.842 MB / 0.9573 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.5545, allocations: 211.2 kB / 0.9575 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5545, allocations: 1.656 kB / 0.9575 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.5546, allocations: 55.69 kB / 0.9575 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.5548, allocations: 13.22 kB / 0.9575 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.5562, allocations: 1.842 MB / 0.9593 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.5563, allocations: 0.7133 MB / 0.96 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.5564, allocations: 12.12 kB / 0.9601 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.5564, allocations: 29.78 kB / 0.9601 GB, free: 28 kB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5564, allocations: 0.8125 kB / 0.9601 GB, free: 28 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.5811, allocations: 4.335 MB / 0.9643 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.5813, allocations: 233.8 kB / 0.9645 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.339, allocations: 0 / 0.9645 GB, free: 13.65 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)