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.0008793/0.0008793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005217/0.005217, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.334/2.334, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5232, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001438/0.5246, allocations: 1.203 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.5257, allocations: 0.7205 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.5257, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/0.5258, allocations: 3.938 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.289e-05/0.5259, allocations: 11.92 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.5266, allocations: 287.1 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5268, allocations: 163.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.5268, allocations: 15.92 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.5269, allocations: 63.83 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.527, allocations: 47.81 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.527, allocations: 8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.5273, allocations: 235.8 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.5274, allocations: 31.91 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.5275, allocations: 89.41 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.5278, allocations: 297.5 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.5278, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5278, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.5278, allocations: 0 / 1.026 GB, free: 12.68 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.0005186/0.5284, allocations: 455 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5284, allocations: 8.031 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.5285, allocations: 42.75 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.5285, allocations: 8.844 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.5287, allocations: 206.1 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5287, allocations: 12.38 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5287, allocations: 8.375 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5289, allocations: 104.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5289, allocations: 3.938 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5289, allocations: 7.984 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5289, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.529, allocations: 47.91 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.5293, allocations: 243.4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.5294, allocations: 103.9 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.5295, allocations: 82.66 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.5295, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.5297, allocations: 146.2 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.5297, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003502/0.5301, allocations: 213.5 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5301, allocations: 114.8 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.5302, allocations: 142.7 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5303, allocations: 37.64 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.5303, allocations: 104.7 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.5304, allocations: 59.22 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.5304, allocations: 29.7 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.5305, allocations: 326.8 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.5306, allocations: 56.25 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.5308, allocations: 176.4 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.531, allocations: 138.5 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.531, allocations: 4 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002666/0.5313, allocations: 197.2 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5313, allocations: 9.094 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.5313, allocations: 4 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.5313, allocations: 3.938 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.5314, allocations: 19.94 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5314, allocations: 3.984 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.5316, allocations: 59.8 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5317, allocations: 4 kB / 1.029 GB, free: 9.207 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.0001054/0.5318, allocations: 144.2 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.5318, allocations: 11.81 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.5318, allocations: 16.7 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5318, allocations: 0 / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5319, allocations: 4 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5319, allocations: 4 kB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.532, allocations: 205.5 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.532, allocations: 3.938 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.5321, allocations: 16 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5321, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.5321, allocations: 4 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5321, allocations: 0 / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5321, allocations: 7.984 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.5324, allocations: 217.2 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.5324, allocations: 88.95 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.5324, allocations: 8 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.5325, allocations: 11.92 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5325, allocations: 7.984 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.5326, allocations: 8 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.5326, allocations: 109.5 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5326, allocations: 0 / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003042/0.5329, allocations: 103.9 kB / 1.03 GB, free: 8.156 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.0006312/0.5336, allocations: 0.8532 MB / 1.031 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.5338, allocations: 213.3 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5339, allocations: 0 / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.5339, allocations: 63.84 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.5341, allocations: 15.92 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5357, allocations: 1.824 MB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.5359, allocations: 0.7084 MB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.536, allocations: 12.88 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.536, allocations: 35.42 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.536, allocations: 0 / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.5497, allocations: 4.252 MB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.5499, allocations: 224 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.25, allocations: 3.938 kB / 1.038 GB, free: 15.95 MB / 0.795 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)