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.004529/0.004529, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001425/0.001425, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.409/2.409, allocations: 437.1 MB / 0.7106 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.88 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2528, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00235/0.2552, allocations: 1.492 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2562, allocations: 0.6851 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.2562, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.169e-05/0.2563, allocations: 15.86 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2564, allocations: 15.86 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.2572, allocations: 343.9 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.2574, allocations: 175.6 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.2575, allocations: 4 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.2576, allocations: 75.81 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.2577, allocations: 43.84 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.2577, allocations: 12 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.2581, allocations: 251.7 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.2581, allocations: 35.89 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.2582, allocations: 67.72 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.2586, allocations: 307.3 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2586, allocations: 3.984 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2586, allocations: 0 / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2586, allocations: 0 / 1.17 GB, free: 3.805 MB / 0.92 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.0006027/0.2592, allocations: 482.5 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2593, allocations: 12.03 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.2593, allocations: 30.75 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.2594, allocations: 24.81 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2596, allocations: 221.9 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2596, allocations: 4.375 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.2597, allocations: 12.38 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2598, allocations: 104.8 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2599, allocations: 3.938 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2599, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2599, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.26, allocations: 43.91 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.2602, allocations: 243.4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2604, allocations: 111.8 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2605, allocations: 70.7 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2605, allocations: 4 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.2608, allocations: 144 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2608, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0004001/0.2612, allocations: 214.2 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.2613, allocations: 122.7 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2614, allocations: 139.3 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.2614, allocations: 37.7 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.2615, allocations: 104.7 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.2616, allocations: 55.59 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.2617, allocations: 61.69 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2618, allocations: 326.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.2619, allocations: 48.25 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2621, allocations: 186 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.2623, allocations: 134.5 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2623, allocations: 0 / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002965/0.2627, allocations: 205.5 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2627, allocations: 8 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.2627, allocations: 4 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2627, allocations: 4 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.2628, allocations: 19.92 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2628, allocations: 8.062 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.263, allocations: 47.84 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2631, allocations: 8 kB / 1.173 GB, free: 280 kB / 0.92 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.0001224/0.2632, allocations: 140.2 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.2632, allocations: 19.83 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2633, allocations: 20.72 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2633, allocations: 0 / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2633, allocations: 4 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2633, allocations: 3.938 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2635, allocations: 213.4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2635, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.2635, allocations: 8 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2635, allocations: 4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2636, allocations: 4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2636, allocations: 7.984 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2636, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2638, allocations: 210.6 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.2639, allocations: 92.95 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2639, allocations: 7.984 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.264, allocations: 11.94 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.264, allocations: 7.984 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2641, allocations: 8 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.2641, allocations: 105.3 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2641, allocations: 0 / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003205/0.2645, allocations: 103.8 kB / 1.174 GB, free: 15.22 MB / 0.9356 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.0007593/0.2652, allocations: 0.8521 MB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.2655, allocations: 213 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2655, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.2656, allocations: 55.92 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2658, allocations: 18.17 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2677, allocations: 1.829 MB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.268, allocations: 0.7123 MB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.268, allocations: 8.891 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.2681, allocations: 35.42 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2681, allocations: 4 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/1.063, allocations: 4.616 MB / 1.182 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.91, allocations: 19.89 kB / 1.182 GB, free: 6.859 MB / 0.9356 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=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)