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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001576/0.001577, 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.001714/0.001714, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.39/2.39, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 66.36 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2189, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002442/0.2214, allocations: 1.483 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2224, allocations: 0.7007 MB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.2225, allocations: 0 / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.737e-05/0.2225, allocations: 11.86 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.2226, allocations: 15.86 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.2235, allocations: 342.3 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.2237, allocations: 175.6 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.2237, allocations: 8 kB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.2238, allocations: 67.84 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.2239, allocations: 47.81 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.224, allocations: 15.94 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.2243, allocations: 251.8 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.2244, allocations: 39.89 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.2245, allocations: 67.64 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.2248, allocations: 295.6 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2248, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2248, allocations: 4 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2249, allocations: 4 kB / 1.056 GB, free: 4.758 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.0005356/0.2254, allocations: 476.6 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2254, allocations: 12.61 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2255, allocations: 38.75 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.2255, allocations: 16.75 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2257, allocations: 204.2 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2257, allocations: 4.375 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.2258, allocations: 20.31 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2259, allocations: 96.8 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2259, allocations: 3.938 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.226, allocations: 3.984 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.226, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.2261, allocations: 43.92 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.2263, allocations: 259.3 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2264, allocations: 107.9 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.2265, allocations: 66.67 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.2265, allocations: 7.922 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.2268, allocations: 141.8 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.2268, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003716/0.2271, allocations: 217.4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2272, allocations: 110.8 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2273, allocations: 151.6 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2274, allocations: 37.7 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.2274, allocations: 92.7 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.2275, allocations: 59.33 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.2276, allocations: 61.69 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.2277, allocations: 326.8 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.2278, allocations: 44.27 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.228, allocations: 184.5 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2281, allocations: 130.5 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2282, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003147/0.2285, allocations: 197.3 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2285, allocations: 11.94 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.2285, allocations: 11.92 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2285, allocations: 4 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.2286, allocations: 11.94 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2286, allocations: 4.938 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2288, allocations: 43.8 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2289, allocations: 12 kB / 1.059 GB, free: 1.262 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.0001064/0.229, allocations: 145.7 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.229, allocations: 19.81 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.229, allocations: 12.7 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2291, allocations: 4 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2291, allocations: 3.938 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2291, allocations: 0 / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2292, allocations: 213.5 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2292, allocations: 0 / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.2293, allocations: 12 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2293, allocations: 0 / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2293, allocations: 12 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2293, allocations: 0 / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2293, allocations: 0 / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2296, allocations: 220.9 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.2296, allocations: 88.95 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2296, allocations: 4 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.2297, allocations: 19.92 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2297, allocations: 4 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2298, allocations: 7.984 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.2298, allocations: 104.8 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2298, allocations: 0 / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003101/0.2302, allocations: 99.98 kB / 1.06 GB, free: 220 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.0006526/0.2308, allocations: 0.8521 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2311, allocations: 225 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2311, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.2312, allocations: 59.92 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.2314, allocations: 10.12 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.001639/0.233, allocations: 1.808 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2333, allocations: 0.7123 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.2333, allocations: 13.16 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.2334, allocations: 43.36 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2334, allocations: 3.938 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.83/1.063, allocations: 4.556 MB / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.459, allocations: 23.89 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)