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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001561/0.001561, 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.001753/0.001753, allocations: 193.1 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5107, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002447/0.5132, allocations: 1.475 MB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.5143, allocations: 0.6929 MB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.5143, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.605e-05/0.5144, allocations: 11.92 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.5145, allocations: 19.78 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.5153, allocations: 343 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.5156, allocations: 175.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.5156, allocations: 11.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.5157, allocations: 67.78 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.5158, allocations: 51.81 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.5158, allocations: 12 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.5161, allocations: 251.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.5162, allocations: 35.91 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.5163, allocations: 67.69 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.5166, allocations: 309.5 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5167, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5167, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5167, allocations: 0 / 1.021 GB, free: 14.97 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.000642/0.5173, allocations: 478.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5174, allocations: 8.031 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5174, allocations: 38.75 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.5174, allocations: 12.75 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.5177, allocations: 214 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5177, allocations: 12.38 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.5177, allocations: 12.38 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5179, allocations: 96.72 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5179, allocations: 3.938 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5179, allocations: 8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5179, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.518, allocations: 39.97 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.5183, allocations: 255.3 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5184, allocations: 103.9 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.5185, allocations: 78.59 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.5185, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.5187, allocations: 135.1 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.5188, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003764/0.5191, allocations: 217.3 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.5192, allocations: 122.8 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5193, allocations: 139.4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.5194, allocations: 37.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.5194, allocations: 100.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.5195, allocations: 59.2 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.5196, allocations: 57.69 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5197, allocations: 326.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.5198, allocations: 56.11 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.52, allocations: 176.5 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.5202, allocations: 134.5 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5202, allocations: 3.984 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002869/0.5205, allocations: 201.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5206, allocations: 7.984 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5206, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5206, allocations: 7.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.5207, allocations: 11.94 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5207, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.5209, allocations: 53.47 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.521, allocations: 12 kB / 1.024 GB, free: 11.46 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.0001418/0.5211, allocations: 145.6 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.5211, allocations: 7.906 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.5212, allocations: 20.7 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5212, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5212, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5212, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.5214, allocations: 209.4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5214, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.5214, allocations: 12 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5214, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5214, allocations: 12 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5214, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5215, allocations: 3.938 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.5217, allocations: 218.6 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.5218, allocations: 88.95 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.5218, allocations: 4 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.5219, allocations: 15.92 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.5219, allocations: 7.984 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5219, allocations: 4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.522, allocations: 104.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.522, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000323/0.5223, allocations: 103.9 kB / 1.025 GB, free: 10.41 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.0006834/0.523, allocations: 0.8483 MB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.5233, allocations: 224.9 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5233, allocations: 0 / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.5234, allocations: 55.92 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.5236, allocations: 19.92 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.5253, allocations: 1.795 MB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5256, allocations: 0.7086 MB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.5256, allocations: 13.16 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.5257, allocations: 35.42 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of SimCode: time 1.693e-06/0.5257, allocations: 0 / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.5452, allocations: 4.56 MB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.69, allocations: 13.92 kB / 1.033 GB, free: 2.117 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)