Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9702/0.9702, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.783e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002454/0.002472, allocations: 1.531 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003506, allocations: 0.667 MB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.003551, allocations: 0 / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.678e-05/0.003627, allocations: 12.36 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.003699, allocations: 16.67 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.004633, allocations: 356.8 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.00486, allocations: 171.6 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.004903, allocations: 8.828 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.005025, allocations: 91.86 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.005104, allocations: 40.98 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.005135, allocations: 12 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.005554, allocations: 276.1 kB / 0.7906 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.005614, allocations: 43.83 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.005677, allocations: 50.61 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.006103, allocations: 331.1 kB / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006105, allocations: 0 / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006106, allocations: 0 / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.006109, allocations: 0 / 0.791 GB, free: 8.684 MB / 0.7448 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.0005284/0.006637, allocations: 0.4958 MB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.006676, allocations: 9.531 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.006724, allocations: 12.89 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.006894, allocations: 160.3 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.00691, allocations: 8.375 kB / 0.7917 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.006932, allocations: 8.969 kB / 0.7917 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.007054, allocations: 87.31 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.007062, allocations: 4.938 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.007072, allocations: 8.312 kB / 0.7918 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.00708, allocations: 8.953 kB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.007128, allocations: 24.59 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.007307, allocations: 164.6 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.007409, allocations: 105.8 kB / 0.7921 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.007467, allocations: 64.44 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.007475, allocations: 3.938 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.007625, allocations: 129.4 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.007626, allocations: 0 / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0002791/0.007905, allocations: 153.4 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.007971, allocations: 122.7 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.00815, allocations: 197.7 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.008182, allocations: 33.7 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.008244, allocations: 147.3 kB / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.008306, allocations: 59.55 kB / 0.7929 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.008389, allocations: 72.84 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.008527, allocations: 0.4962 MB / 0.7935 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.008569, allocations: 20.27 kB / 0.7935 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.008798, allocations: 451.3 kB / 0.7939 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.008922, allocations: 106.9 kB / 0.794 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008924, allocations: 0.5312 kB / 0.794 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002041/0.009129, allocations: 147.4 kB / 0.7942 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.009143, allocations: 4 kB / 0.7942 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.009163, allocations: 4 kB / 0.7942 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.009176, allocations: 4 kB / 0.7942 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.009281, allocations: 23.98 kB / 0.7942 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009287, allocations: 6.5 kB / 0.7942 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.009415, allocations: 39.86 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.009426, allocations: 4 kB / 0.7943 GB, free: 4.941 MB / 0.7448 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.0001042/0.009531, allocations: 183.3 kB / 0.7944 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.009555, allocations: 16.44 kB / 0.7945 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.009584, allocations: 12.78 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.009588, allocations: 4.719 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.009592, allocations: 7.922 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009596, allocations: 0.5312 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009711, allocations: 130.7 kB / 0.7946 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009712, allocations: 0 / 0.7946 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.00975, allocations: 15.92 kB / 0.7946 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.009753, allocations: 4 kB / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009762, allocations: 5.062 kB / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.009765, allocations: 4 kB / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009766, allocations: 0 / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.00997, allocations: 185.7 kB / 0.7948 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.009988, allocations: 19.83 kB / 0.7948 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01001, allocations: 4.969 kB / 0.7948 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.01005, allocations: 11.92 kB / 0.7948 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.01008, allocations: 12.83 kB / 0.7949 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01009, allocations: 4 kB / 0.7949 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.01014, allocations: 139.2 kB / 0.795 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 1.594 kB / 0.795 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003237/0.01047, allocations: 99.8 kB / 0.7951 GB, free: 4.043 MB / 0.7448 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.0002675/0.01073, allocations: 219.9 kB / 0.7953 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01094, allocations: 177.8 kB / 0.7955 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01094, allocations: 6.125 kB / 0.7955 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.01099, allocations: 35.61 kB / 0.7955 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.01116, allocations: 15.98 kB / 0.7955 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.0115, allocations: 249.5 kB / 0.7958 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01154, allocations: 71.83 kB / 0.7958 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.01158, allocations: 11.2 kB / 0.7958 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01169, allocations: 98.17 kB / 0.7959 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.01169, allocations: 0 / 0.7959 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.005538/0.01723, allocations: 3.538 MB / 0.7994 GB, free: 15.62 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.846633519046009]