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.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.001018/0.001018, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001512/0.001512, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.378/2.378, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.215e-05, allocations: 6.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001857/0.001879, allocations: 1.53 MB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.002666, allocations: 0.6536 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.0027, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.876e-05/0.002769, allocations: 11.86 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.00283, allocations: 15.86 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.003466, allocations: 354.9 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.003651, allocations: 175.6 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.003689, allocations: 11.98 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.003772, allocations: 91.86 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.003829, allocations: 39.89 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.003853, allocations: 12 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.004113, allocations: 283.5 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.00416, allocations: 31.91 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.004208, allocations: 47.89 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.004481, allocations: 327.1 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004483, allocations: 4 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004484, allocations: 4 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.004488, allocations: 0 / 0.842 GB, free: 10.66 MB / 0.8073 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.0004939/0.004982, allocations: 379.8 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.005011, allocations: 12.62 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.005043, allocations: 12.92 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.005176, allocations: 141.6 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005187, allocations: 8.375 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.005204, allocations: 8.375 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.005297, allocations: 85.58 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.005302, allocations: 192 / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005312, allocations: 8.375 kB / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.005316, allocations: 384 / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.005352, allocations: 36.34 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.00546, allocations: 107.1 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.466e-05/0.005534, allocations: 87.98 kB / 0.8429 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.005568, allocations: 34.66 kB / 0.8429 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.005577, allocations: 4 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.005687, allocations: 120.7 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 7.32e-07/0.005688, allocations: 0 / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0001508/0.005839, allocations: 122 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.005898, allocations: 118.7 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.005965, allocations: 150.4 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.005985, allocations: 33.7 kB / 0.8434 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.006014, allocations: 92.62 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.006053, allocations: 51.61 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.006103, allocations: 61.66 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.006172, allocations: 326.8 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.006197, allocations: 19.09 kB / 0.844 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.006365, allocations: 420.2 kB / 0.8444 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.006441, allocations: 90.92 kB / 0.8445 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006443, allocations: 8 kB / 0.8445 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001126/0.006556, allocations: 129.9 kB / 0.8446 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.006567, allocations: 10.34 kB / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.006582, allocations: 0 / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.006593, allocations: 4 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.006665, allocations: 27.92 kB / 0.8446 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.006668, allocations: 3.938 kB / 0.8446 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.006755, allocations: 39.34 kB / 0.8447 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.006764, allocations: 11.98 kB / 0.8447 GB, free: 7.598 MB / 0.8073 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 6.902e-05/0.006833, allocations: 135.2 kB / 0.8448 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.006846, allocations: 8 kB / 0.8448 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.006866, allocations: 16.77 kB / 0.8448 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.006868, allocations: 4 kB / 0.8448 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00687, allocations: 0 / 0.8448 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006873, allocations: 3.938 kB / 0.8448 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.942e-05/0.006943, allocations: 93.77 kB / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006944, allocations: 144 / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.006971, allocations: 15.98 kB / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006973, allocations: 3.984 kB / 0.8449 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.006978, allocations: 4 kB / 0.8449 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006979, allocations: 4 kB / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00698, allocations: 0 / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.00708, allocations: 143 kB / 0.8451 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.007091, allocations: 11.89 kB / 0.8451 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.007106, allocations: 7.938 kB / 0.8451 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.007131, allocations: 7.984 kB / 0.8451 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.007157, allocations: 7.984 kB / 0.8451 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.007165, allocations: 4 kB / 0.8451 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.145e-05/0.007186, allocations: 28.83 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007186, allocations: 4 kB / 0.8452 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001806/0.007367, allocations: 103.8 kB / 0.8453 GB, free: 6.945 MB / 0.8073 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.000195/0.007562, allocations: 204.3 kB / 0.8455 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.007712, allocations: 162.8 kB / 0.8456 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.007714, allocations: 3.938 kB / 0.8456 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.008016, allocations: 46.81 kB / 0.8457 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.977e-05/0.008086, allocations: 8 kB / 0.8457 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.008374, allocations: 237.6 kB / 0.8459 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.008408, allocations: 75.83 kB / 0.846 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.008441, allocations: 8.984 kB / 0.846 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.008517, allocations: 83.34 kB / 0.846 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.008518, allocations: 0 / 0.846 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of Templates: time 0.004315/0.01283, allocations: 3.464 MB / 0.8494 GB, free: 2.629 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.404157452750951]