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.0008807/0.0008807, allocations: 90.52 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.005184/0.005184, allocations: 171.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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 8.719 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2447, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001412/0.2461, allocations: 1.205 MB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2472, allocations: 0.7167 MB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.2473, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.849e-05/0.2473, allocations: 7.922 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.2474, allocations: 11.92 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.2482, allocations: 297.2 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.2484, allocations: 167.6 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.2485, allocations: 8 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.2485, allocations: 59.83 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.2486, allocations: 43.83 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2487, allocations: 8 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.249, allocations: 239.8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.2491, allocations: 43.81 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.2492, allocations: 81.42 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2495, allocations: 295.5 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2495, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2495, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2495, allocations: 4 kB / 1.062 GB, free: 1.734 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.0005113/0.25, allocations: 448.3 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2501, allocations: 11.97 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.2501, allocations: 34.75 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.2502, allocations: 20.83 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2504, allocations: 214.1 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2504, allocations: 12.31 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.2504, allocations: 12.38 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2506, allocations: 92.8 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2506, allocations: 3.938 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2506, allocations: 4 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2506, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.2507, allocations: 55.84 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.251, allocations: 247.3 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2511, allocations: 111.8 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.2512, allocations: 74.7 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2512, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.2514, allocations: 138.4 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.2514, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0003762/0.2518, allocations: 213.5 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.2519, allocations: 122.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.252, allocations: 143.6 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2521, allocations: 37.7 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.2521, allocations: 96.69 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.2522, allocations: 55.34 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.2522, allocations: 33.64 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.2523, allocations: 326.8 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.2524, allocations: 56.27 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2526, allocations: 174.3 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.2528, allocations: 138.5 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2528, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002786/0.2531, allocations: 213.1 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2531, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.2531, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2531, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.2532, allocations: 15.92 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2532, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2535, allocations: 55.8 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2535, allocations: 12 kB / 1.065 GB, free: 14.27 MB / 0.8262 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.0001106/0.2536, allocations: 136 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.2536, allocations: 11.81 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.2537, allocations: 16.72 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2537, allocations: 7.938 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2537, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2537, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2539, allocations: 213.4 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2539, allocations: 0 / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.2539, allocations: 12 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2539, allocations: 3.984 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2539, allocations: 4.141 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2539, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2539, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2542, allocations: 224.6 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.2543, allocations: 96.84 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2543, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.2544, allocations: 11.94 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2544, allocations: 11.98 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2544, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.2545, allocations: 109.3 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2545, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003172/0.2548, allocations: 99.98 kB / 1.066 GB, free: 13.22 MB / 0.8262 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.0007526/0.2556, allocations: 0.8403 MB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.256, allocations: 218.1 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.256, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2562, allocations: 55.91 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2565, allocations: 11.94 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.2587, allocations: 1.832 MB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.259, allocations: 0.7123 MB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.259, allocations: 8.891 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.2591, allocations: 35.42 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of SimCode: time 1.212e-06/0.2591, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.2882, allocations: 4.258 MB / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.2885, allocations: 233.5 kB / 1.074 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.038, allocations: 6.781 kB / 1.074 GB, free: 5.012 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)