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.001383/0.001384, 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.001382/0.001382, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.164/1.164, 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 9.1.3-maint.9.1.x/package.mo): time 1.965/1.965, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4607, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001953/0.4627, allocations: 1.482 MB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000804/0.4635, allocations: 0.6824 MB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.4635, allocations: 1.188 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.079e-05/0.4636, allocations: 13.03 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.4637, allocations: 17.94 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007587/0.4644, allocations: 343.7 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.4646, allocations: 170.8 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.4646, allocations: 9.641 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.4647, allocations: 74.75 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.4648, allocations: 55.62 kB / 0.9525 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.4648, allocations: 12.22 kB / 0.9525 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.4651, allocations: 249.9 kB / 0.9527 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.4652, allocations: 42.2 kB / 0.9528 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.4652, allocations: 57.97 kB / 0.9528 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.4655, allocations: 304.3 kB / 0.9531 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4656, allocations: 0 / 0.9531 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4656, allocations: 0.9062 kB / 0.9531 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.4656, allocations: 0 / 0.9531 GB, free: 6.68 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.0004221/0.466, allocations: 481 kB / 0.9536 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.466, allocations: 9 kB / 0.9536 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.247e-05/0.4661, allocations: 41.45 kB / 0.9536 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.4661, allocations: 15.75 kB / 0.9536 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4662, allocations: 206.3 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4663, allocations: 4.469 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4663, allocations: 16.94 kB / 0.9539 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4664, allocations: 98.89 kB / 0.954 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4664, allocations: 5.281 kB / 0.954 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4664, allocations: 0 / 0.954 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.4664, allocations: 1.219 kB / 0.954 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.4665, allocations: 50.59 kB / 0.954 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.4667, allocations: 247.6 kB / 0.9542 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.4668, allocations: 109.8 kB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.4669, allocations: 70.98 kB / 0.9544 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.4669, allocations: 5.062 kB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4671, allocations: 135.5 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.4671, allocations: 0 / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003056/0.4674, allocations: 230.4 kB / 0.9548 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.4674, allocations: 113.9 kB / 0.9549 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.4675, allocations: 143.3 kB / 0.955 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4675, allocations: 34.42 kB / 0.955 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.4676, allocations: 105.3 kB / 0.9551 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4676, allocations: 55.8 kB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.4677, allocations: 60.91 kB / 0.9553 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.4677, allocations: 326.8 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.4678, allocations: 52.88 kB / 0.9556 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4679, allocations: 183.2 kB / 0.9558 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4681, allocations: 132.1 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4681, allocations: 1.25 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002243/0.4683, allocations: 204.9 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.4683, allocations: 6.219 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4683, allocations: 4.281 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4684, allocations: 1.406 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.4684, allocations: 26.86 kB / 0.9562 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4684, allocations: 1.594 kB / 0.9562 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.4686, allocations: 49.86 kB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4686, allocations: 5.688 kB / 0.9562 GB, free: 3.941 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 7.377e-05/0.4687, allocations: 142.1 kB / 0.9563 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.4688, allocations: 12.55 kB / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.4688, allocations: 15.84 kB / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4688, allocations: 3.469 kB / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4688, allocations: 0 / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4688, allocations: 5.125 kB / 0.9564 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.4689, allocations: 213.3 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4689, allocations: 1.781 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.4689, allocations: 7.219 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.469, allocations: 1.844 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.469, allocations: 11.77 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.469, allocations: 0 / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.469, allocations: 1.781 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.4692, allocations: 209.6 kB / 0.9568 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.4692, allocations: 92.98 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4692, allocations: 6.734 kB / 0.9569 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.4693, allocations: 10.69 kB / 0.9569 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4693, allocations: 8.109 kB / 0.9569 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4693, allocations: 17.44 kB / 0.9569 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.4694, allocations: 102.4 kB / 0.957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4694, allocations: 0 / 0.957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002953/0.4697, allocations: 102.3 kB / 0.9571 GB, free: 3.152 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.0004601/0.4701, allocations: 0.8381 MB / 0.9579 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.4704, allocations: 223.4 kB / 0.9582 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4704, allocations: 1.25 kB / 0.9582 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.4705, allocations: 60.7 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.4706, allocations: 13.88 kB / 0.9582 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4719, allocations: 1.809 MB / 0.96 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.238e-05/0.472, allocations: 0.7135 MB / 0.9607 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.472, allocations: 16.91 kB / 0.9607 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.4721, allocations: 33.61 kB / 0.9607 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.4721, allocations: 0.75 kB / 0.9607 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.326/7.798, allocations: 4.577 MB / 0.9652 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/15.79, allocations: 11.2 kB / 0.9652 GB, free: 13.67 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)