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.001004/0.001004, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00101/0.00101, allocations: 165 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 0.9205/0.9205, 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 1.844/1.844, allocations: 359 MB / 0.6052 GB, free: 10.99 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 2.204e-06/2.204e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.6e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002566/0.002602, allocations: 1.531 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.003549, allocations: 0.6791 MB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.003602, allocations: 0 / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.003693, allocations: 7.875 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.003775, allocations: 25.03 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.004749, allocations: 356.2 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.00499, allocations: 175.6 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.005034, allocations: 5.25 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.005135, allocations: 91.86 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.00521, allocations: 49.56 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.005237, allocations: 12 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.005619, allocations: 275.5 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.005689, allocations: 43.83 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.005767, allocations: 39.92 kB / 0.7903 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.006219, allocations: 332 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.006224, allocations: 0 / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006225, allocations: 1.062 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.006232, allocations: 0 / 0.7906 GB, free: 8.914 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.0006338/0.006866, allocations: 0.4973 MB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.006906, allocations: 12.03 kB / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.006975, allocations: 16.89 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.007151, allocations: 154.1 kB / 0.7912 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.007163, allocations: 5.906 kB / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.007186, allocations: 12.38 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007327, allocations: 93.22 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007337, allocations: 192 / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007349, allocations: 4.375 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.007358, allocations: 3.094 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.007413, allocations: 35.86 kB / 0.7914 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.007606, allocations: 192 kB / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.007711, allocations: 113.3 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.007771, allocations: 55.16 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.007782, allocations: 4.703 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.007943, allocations: 132 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.007944, allocations: 1.656 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0003719/0.008316, allocations: 177.3 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.008387, allocations: 118.7 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.008529, allocations: 196.2 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.008563, allocations: 35.45 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.008631, allocations: 147.4 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.008699, allocations: 51.59 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.008797, allocations: 67.34 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.008965, allocations: 0.4962 MB / 0.7931 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.009042, allocations: 29.39 kB / 0.7931 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.009342, allocations: 454.9 kB / 0.7936 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.009521, allocations: 111 kB / 0.7937 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.009524, allocations: 1.812 kB / 0.7937 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002825/0.009807, allocations: 157.5 kB / 0.7938 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.009827, allocations: 8 kB / 0.7938 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.009864, allocations: 7.984 kB / 0.7938 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.009884, allocations: 3.938 kB / 0.7938 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.01003, allocations: 29.88 kB / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.01004, allocations: 3.984 kB / 0.7939 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.01023, allocations: 35.86 kB / 0.7939 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.01024, allocations: 12 kB / 0.7939 GB, free: 5.078 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.0001609/0.01041, allocations: 180.3 kB / 0.7941 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.01044, allocations: 15.91 kB / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.01047, allocations: 13.5 kB / 0.7941 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01048, allocations: 16.39 kB / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.01048, allocations: 0 / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01049, allocations: 1.406 kB / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.0106, allocations: 152.5 kB / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01061, allocations: 4 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.01064, allocations: 8 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01065, allocations: 0.5312 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01066, allocations: 5.375 kB / 0.7943 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01066, allocations: 0 / 0.7943 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01066, allocations: 3.938 kB / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.01086, allocations: 197.2 kB / 0.7945 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.01088, allocations: 17.05 kB / 0.7945 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.0109, allocations: 7.984 kB / 0.7945 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.01094, allocations: 8 kB / 0.7945 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.01099, allocations: 13.33 kB / 0.7945 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01099, allocations: 8 kB / 0.7945 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.01105, allocations: 145.3 kB / 0.7947 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01105, allocations: 0.8438 kB / 0.7947 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002967/0.01135, allocations: 103.7 kB / 0.7948 GB, free: 4.137 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.0002817/0.01163, allocations: 220 kB / 0.795 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01186, allocations: 190.1 kB / 0.7952 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01187, allocations: 0 / 0.7952 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.294e-05/0.01192, allocations: 47.59 kB / 0.7952 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.01206, allocations: 12.59 kB / 0.7952 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.01246, allocations: 247.6 kB / 0.7955 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.01251, allocations: 67.84 kB / 0.7955 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.01255, allocations: 14.88 kB / 0.7955 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.01259, allocations: 12.5 kB / 0.7956 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01259, allocations: 3.938 kB / 0.7956 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.005842/0.01843, allocations: 3.54 MB / 0.799 GB, free: 15.78 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: 5.076772108208388]