Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_10_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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.91 kB / 0.8686 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4747, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002302/0.477, allocations: 1.55 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4781, allocations: 0.7243 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.4781, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.4782, allocations: 11.92 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.4782, allocations: 7.922 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.4789, allocations: 293.2 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.4791, allocations: 163.6 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.4792, allocations: 11.97 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.4792, allocations: 67.91 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.4793, allocations: 47.73 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.4794, allocations: 8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.4797, allocations: 235.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.4797, allocations: 31.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.4798, allocations: 67.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.4802, allocations: 297.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4802, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4802, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.4802, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 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.0005457/0.4807, allocations: 472.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.4808, allocations: 8.031 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.4808, allocations: 38.73 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.4809, allocations: 20.75 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4811, allocations: 208.1 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4811, allocations: 8.375 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4811, allocations: 12.38 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4813, allocations: 98.61 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4813, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4813, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4813, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.4814, allocations: 51.91 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.4817, allocations: 247.3 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4818, allocations: 107.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4819, allocations: 74.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.482, allocations: 4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.4822, allocations: 140.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.495e-06/0.4822, allocations: 3.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003771/0.4826, allocations: 218 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4827, allocations: 122.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4828, allocations: 133.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4828, allocations: 41.62 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.4829, allocations: 100.7 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.483, allocations: 55.23 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.4831, allocations: 57.69 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4832, allocations: 330.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.4833, allocations: 60.11 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4835, allocations: 174.5 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.4837, allocations: 142.5 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4837, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002925/0.484, allocations: 205.4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.484, allocations: 5.25 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.484, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.484, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.4841, allocations: 19.92 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4841, allocations: 4.062 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4844, allocations: 51.8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4844, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 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.0001113/0.4845, allocations: 151.9 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.4845, allocations: 7.906 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.4846, allocations: 16.72 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4846, allocations: 0 / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4846, allocations: 8 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4846, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4848, allocations: 209.4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4848, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.4848, allocations: 8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4848, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4848, allocations: 3.984 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4848, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4848, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4851, allocations: 222.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.4852, allocations: 92.94 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4852, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.4853, allocations: 7.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.4853, allocations: 11.98 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4853, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.4854, allocations: 109.3 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4854, allocations: 0 / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003045/0.4857, allocations: 103.9 kB / 1.024 GB, free: 10.71 MB / 0.7794 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.0006762/0.4864, allocations: 0.8483 MB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4867, allocations: 213.1 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4867, allocations: 0 / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.4868, allocations: 67.89 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.4869, allocations: 16.2 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.4886, allocations: 1.822 MB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4889, allocations: 0.7045 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.4889, allocations: 16.88 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.489, allocations: 35.42 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.489, allocations: 0 / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9882/1.477, allocations: 4.328 MB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.477, allocations: 228.3 kB / 1.032 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/3.169, allocations: 0 / 1.032 GB, free: 2.402 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)