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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005026/0.005026, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.0014/0.0014, allocations: 193.8 kB / 16.67 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.503/2.503, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.36 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2628, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002444/0.2653, allocations: 1.492 MB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2664, allocations: 0.6866 MB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2664, allocations: 0 / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.66e-05/0.2665, allocations: 15.86 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.2665, allocations: 11.86 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.2674, allocations: 350.2 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2676, allocations: 171.6 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.2677, allocations: 8 kB / 1.244 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.2678, allocations: 67.88 kB / 1.245 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.2678, allocations: 51.7 kB / 1.245 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2679, allocations: 12 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2682, allocations: 251.8 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.2683, allocations: 43.83 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2684, allocations: 63.72 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2688, allocations: 303.4 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2688, allocations: 0 / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2688, allocations: 0 / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2688, allocations: 0 / 1.245 GB, free: 5.391 MB / 0.9669 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.0005735/0.2694, allocations: 486.4 kB / 1.246 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2694, allocations: 8.031 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2694, allocations: 42.73 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2695, allocations: 12.89 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2697, allocations: 217.8 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2697, allocations: 8.375 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2697, allocations: 16.36 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2699, allocations: 92.8 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2699, allocations: 3.938 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2699, allocations: 4 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2699, allocations: 0 / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.27, allocations: 47.91 kB / 1.246 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.2703, allocations: 247.4 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.2704, allocations: 107.9 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.2705, allocations: 78.67 kB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.2706, allocations: 0 / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.2708, allocations: 141.7 kB / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.2708, allocations: 0 / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0003888/0.2712, allocations: 217.4 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.2713, allocations: 118.8 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2714, allocations: 143.6 kB / 1.247 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2714, allocations: 37.7 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.2715, allocations: 96.7 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.2716, allocations: 59.58 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.2716, allocations: 57.69 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2718, allocations: 330.8 kB / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.2719, allocations: 52.27 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.2721, allocations: 172.5 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2723, allocations: 134.4 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2723, allocations: 0 / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000292/0.2726, allocations: 214.1 kB / 1.248 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.2726, allocations: 4 kB / 1.248 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2726, allocations: 4 kB / 1.248 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2726, allocations: 7.938 kB / 1.248 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.2727, allocations: 15.92 kB / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2727, allocations: 4 kB / 1.248 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2729, allocations: 46.72 kB / 1.248 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2729, allocations: 16 kB / 1.248 GB, free: 1.867 MB / 0.9669 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.0001184/0.2731, allocations: 144.6 kB / 1.248 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2731, allocations: 11.91 kB / 1.248 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.2731, allocations: 16.72 kB / 1.249 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2731, allocations: 4 kB / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2731, allocations: 0 / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2732, allocations: 3.984 kB / 1.249 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2733, allocations: 201.5 kB / 1.249 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2733, allocations: 4 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.2734, allocations: 15.98 kB / 1.249 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2734, allocations: 0 / 1.249 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2734, allocations: 8 kB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2734, allocations: 0 / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2734, allocations: 0 / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.2737, allocations: 225.3 kB / 1.249 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.2737, allocations: 96.95 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2738, allocations: 0 / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.2738, allocations: 11.94 kB / 1.249 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2739, allocations: 7.984 kB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2739, allocations: 8 kB / 1.249 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.274, allocations: 109.1 kB / 1.249 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.274, allocations: 0 / 1.249 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002944/0.2743, allocations: 103.8 kB / 1.249 GB, free: 0.8203 MB / 0.9669 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.0007057/0.275, allocations: 0.8404 MB / 1.25 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.2753, allocations: 221 kB / 1.25 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2753, allocations: 0 / 1.25 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.2754, allocations: 59.92 kB / 1.25 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.2755, allocations: 11.94 kB / 1.25 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2773, allocations: 1.825 MB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2776, allocations: 0.7123 MB / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.2776, allocations: 16.81 kB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.2777, allocations: 35.42 kB / 1.253 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2777, allocations: 0 / 1.253 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/1.555, allocations: 4.628 MB / 1.257 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.008/10.56, allocations: 9.094 kB / 1.257 GB, free: 8.465 MB / 0.9825 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)