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.001801/0.001801, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002311/0.002311, allocations: 161 kB / 23.82 MB, free: 0.75 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.275/1.275, allocations: 177.1 MB / 204.2 MB, free: 5.609 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 2.187/2.187, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] 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.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.565e-05, allocations: 10.25 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001958/0.001984, allocations: 1.531 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002796, allocations: 0.686 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002834, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.002914, allocations: 7.938 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.002979, allocations: 20.41 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.003743, allocations: 353.2 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.003937, allocations: 175.6 kB / 0.7898 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.003977, allocations: 7.984 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.004071, allocations: 92.42 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.004138, allocations: 40.58 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.004166, allocations: 12.91 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.004477, allocations: 287.4 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.00454, allocations: 36.55 kB / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.0046, allocations: 39.92 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.004938, allocations: 331.7 kB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004941, allocations: 0 / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004942, allocations: 3.438 kB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.004947, allocations: 0 / 0.7906 GB, free: 8.93 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.0005445/0.005492, allocations: 0.4958 MB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.00554, allocations: 8.031 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.0056, allocations: 16.89 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005771, allocations: 162.2 kB / 0.7912 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005782, allocations: 4.375 kB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.005803, allocations: 12.38 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005931, allocations: 90 kB / 0.7913 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.005942, allocations: 4.125 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005951, allocations: 2.031 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.005959, allocations: 4.359 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.006015, allocations: 35.86 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.006195, allocations: 184 kB / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006296, allocations: 118.7 kB / 0.7917 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.006354, allocations: 51.16 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.006362, allocations: 5.531 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.00651, allocations: 132 kB / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.006511, allocations: 0 / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.000306/0.006817, allocations: 177.3 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.006882, allocations: 120.1 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007006, allocations: 192.2 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.007028, allocations: 33.7 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.00709, allocations: 151.4 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.00714, allocations: 52.91 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.007205, allocations: 67.28 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.00735, allocations: 0.4962 MB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.007397, allocations: 28.8 kB / 0.7931 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.007604, allocations: 454.8 kB / 0.7936 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.007717, allocations: 111.5 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00772, allocations: 0.875 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001805/0.0079, allocations: 165.4 kB / 0.7938 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.007919, allocations: 4.812 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.007942, allocations: 4 kB / 0.7938 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.007962, allocations: 12.45 kB / 0.7938 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.008061, allocations: 20 kB / 0.7939 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.008067, allocations: 5.359 kB / 0.7939 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.008171, allocations: 39.86 kB / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.008182, allocations: 8 kB / 0.7939 GB, free: 5.098 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 9.879e-05/0.008281, allocations: 180.5 kB / 0.7941 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.0083, allocations: 20.55 kB / 0.7941 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.008327, allocations: 16.78 kB / 0.7941 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00833, allocations: 4.656 kB / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.008336, allocations: 3.984 kB / 0.7941 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008341, allocations: 5.219 kB / 0.7941 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.008449, allocations: 156.5 kB / 0.7943 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008451, allocations: 0 / 0.7943 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.008478, allocations: 12.66 kB / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00848, allocations: 0 / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008489, allocations: 5.219 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.00849, allocations: 0 / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008492, allocations: 7.938 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.008681, allocations: 193.2 kB / 0.7945 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.008695, allocations: 20.8 kB / 0.7945 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.008719, allocations: 11.98 kB / 0.7945 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.655e-05/0.008746, allocations: 6.281 kB / 0.7945 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.008795, allocations: 11.98 kB / 0.7945 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.008801, allocations: 4 kB / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.008863, allocations: 145.3 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008863, allocations: 0 / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002458/0.009109, allocations: 103.8 kB / 0.7948 GB, free: 4.148 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.0002465/0.009356, allocations: 210.3 kB / 0.795 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.009577, allocations: 192.5 kB / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009579, allocations: 0 / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.009627, allocations: 43.66 kB / 0.7952 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.009753, allocations: 11.94 kB / 0.7952 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.01012, allocations: 249.1 kB / 0.7955 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01016, allocations: 72.89 kB / 0.7955 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.0102, allocations: 12.97 kB / 0.7955 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.01023, allocations: 17 kB / 0.7956 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.01023, allocations: 0 / 0.7956 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.004977/0.01521, allocations: 3.266 MB / 0.7987 GB, free: 76 kB / 0.7448 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: 6.5722553809173405]