Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_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.001251/0.001254, allocations: 107.4 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.001308/0.001308, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 62.69 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2154, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002376/0.2179, allocations: 1.544 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2189, allocations: 0.7321 MB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.219, allocations: 0 / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/0.219, allocations: 11.92 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.2191, allocations: 3.938 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.2198, allocations: 302.3 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.22, allocations: 163.6 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.22, allocations: 4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.2201, allocations: 55.84 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.2202, allocations: 51.81 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.2202, allocations: 7.938 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.2205, allocations: 247.7 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.2206, allocations: 35.89 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.2207, allocations: 51.78 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.221, allocations: 299.6 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.221, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2211, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2211, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 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.0005212/0.2216, allocations: 470.9 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2216, allocations: 15.97 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.2217, allocations: 38.73 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.2217, allocations: 16.75 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2219, allocations: 212.1 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2219, allocations: 8.312 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2219, allocations: 12.38 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2221, allocations: 98.05 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.2221, allocations: 3.938 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2221, allocations: 3.984 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2221, allocations: 7.938 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.2222, allocations: 43.92 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.2225, allocations: 251.3 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2226, allocations: 107.9 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.2227, allocations: 78.66 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2227, allocations: 4 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2229, allocations: 141.8 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.2229, allocations: 0 / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003627/0.2233, allocations: 222 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.2234, allocations: 118.8 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.2235, allocations: 147.1 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2235, allocations: 33.7 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.2236, allocations: 92.7 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.2236, allocations: 59.33 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.2237, allocations: 61.69 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2238, allocations: 326.8 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.2239, allocations: 52.27 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2241, allocations: 176.5 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.2243, allocations: 130.5 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2243, allocations: 4 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002686/0.2246, allocations: 197.3 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2246, allocations: 8 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.2246, allocations: 7.984 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2246, allocations: 0 / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.2247, allocations: 19.94 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2247, allocations: 0 / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2249, allocations: 47.8 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2249, allocations: 4 kB / 1.059 GB, free: 1.258 MB / 0.8106 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.0001024/0.225, allocations: 148 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.2251, allocations: 11.81 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2251, allocations: 16.66 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2251, allocations: 3.984 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2251, allocations: 4 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2251, allocations: 0 / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2253, allocations: 205.5 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2253, allocations: 0 / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2253, allocations: 19.98 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2253, allocations: 4 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2254, allocations: 4 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2254, allocations: 4 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2254, allocations: 0 / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.2256, allocations: 216.5 kB / 1.059 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2257, allocations: 97.03 kB / 1.059 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2257, allocations: 7.984 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.2257, allocations: 15.92 kB / 1.059 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.2258, allocations: 4 kB / 1.059 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2258, allocations: 11.98 kB / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.2259, allocations: 100.7 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2259, allocations: 0 / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003109/0.2262, allocations: 104 kB / 1.06 GB, free: 208 kB / 0.8106 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.0006418/0.2268, allocations: 0.8441 MB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.2271, allocations: 213 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2271, allocations: 0 / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.2272, allocations: 63.91 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.2274, allocations: 21.81 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.229, allocations: 1.827 MB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2293, allocations: 0.7045 MB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.2293, allocations: 12.88 kB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2294, allocations: 31.42 kB / 1.063 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2294, allocations: 4 kB / 1.063 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07603/0.3054, allocations: 4.346 MB / 1.067 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.3056, allocations: 229.8 kB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.077, allocations: 1.719 kB / 1.068 GB, free: 7.891 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)