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.0009087/0.0009087, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009967/0.0009967, allocations: 173 kB / 23.28 MB, free: 1.219 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.08/1.08, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.415e-06/2.415e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.638e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00272/0.002757, allocations: 1.529 MB / 0.8912 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.003715, allocations: 0.6459 MB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.003781, allocations: 0 / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.003881, allocations: 11.92 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.003966, allocations: 19.78 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.004982, allocations: 354.9 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.005222, allocations: 175.6 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.005277, allocations: 4 kB / 0.8924 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.005401, allocations: 99.84 kB / 0.8925 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.005486, allocations: 35.89 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.005519, allocations: 12 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.005943, allocations: 283.5 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.006012, allocations: 35.91 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.006081, allocations: 43.89 kB / 0.8929 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.006531, allocations: 339 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.006536, allocations: 0 / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/0.006538, allocations: 0 / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006544, allocations: 0 / 0.8932 GB, free: 6.207 MB / 0.8542 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.0005752/0.007119, allocations: 0.4918 MB / 0.8937 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.007175, allocations: 8.625 kB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.007234, allocations: 16.89 kB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.007436, allocations: 168.3 kB / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.007448, allocations: 4.375 kB / 0.8939 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.007467, allocations: 16.38 kB / 0.8939 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.007605, allocations: 85.27 kB / 0.894 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.007614, allocations: 192 / 0.894 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.007623, allocations: 384 / 0.894 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.007629, allocations: 4.375 kB / 0.894 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.007671, allocations: 27.84 kB / 0.894 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.007843, allocations: 160.5 kB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.007938, allocations: 113.5 kB / 0.8942 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.008011, allocations: 55.03 kB / 0.8943 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.008021, allocations: 0 / 0.8943 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.008173, allocations: 136 kB / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.008174, allocations: 0 / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.000265/0.008439, allocations: 157.4 kB / 0.8946 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.008499, allocations: 118.7 kB / 0.8947 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.008606, allocations: 195.7 kB / 0.8949 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.008631, allocations: 37.7 kB / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.008689, allocations: 143.3 kB / 0.8951 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.008744, allocations: 59.56 kB / 0.8951 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.008868, allocations: 75.31 kB / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.009015, allocations: 0.4962 MB / 0.8957 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.009051, allocations: 20.27 kB / 0.8957 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.009256, allocations: 447.9 kB / 0.8961 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.009354, allocations: 103 kB / 0.8962 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.009357, allocations: 0 / 0.8962 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001661/0.009523, allocations: 149.4 kB / 0.8964 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.009541, allocations: 4 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.009563, allocations: 4 kB / 0.8964 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.009576, allocations: 4 kB / 0.8964 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.009673, allocations: 27.98 kB / 0.8964 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009678, allocations: 3.938 kB / 0.8964 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.009791, allocations: 39.86 kB / 0.8964 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.009801, allocations: 4 kB / 0.8964 GB, free: 2.461 MB / 0.8542 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.0001084/0.00991, allocations: 183.1 kB / 0.8966 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.009936, allocations: 15.91 kB / 0.8966 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.009973, allocations: 16.77 kB / 0.8966 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.009977, allocations: 4 kB / 0.8966 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.009981, allocations: 3.938 kB / 0.8966 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.009985, allocations: 4 kB / 0.8967 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01019, allocations: 129.1 kB / 0.8968 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01019, allocations: 0 / 0.8968 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.01023, allocations: 19.92 kB / 0.8968 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01023, allocations: 144 / 0.8968 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.01024, allocations: 4 kB / 0.8968 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01024, allocations: 0 / 0.8968 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01024, allocations: 0 / 0.8968 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01043, allocations: 193.5 kB / 0.897 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.01045, allocations: 19.78 kB / 0.897 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01046, allocations: 4 kB / 0.897 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.0105, allocations: 7.984 kB / 0.897 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01055, allocations: 15.92 kB / 0.897 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01055, allocations: 4 kB / 0.897 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.01061, allocations: 145.3 kB / 0.8972 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 0.8972 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003071/0.01091, allocations: 103.8 kB / 0.8973 GB, free: 1.535 MB / 0.8542 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.0002977/0.01121, allocations: 216.1 kB / 0.8975 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.01143, allocations: 176.6 kB / 0.8976 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01143, allocations: 4 kB / 0.8976 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01147, allocations: 43.59 kB / 0.8977 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.01162, allocations: 15.92 kB / 0.8977 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.012, allocations: 230.2 kB / 0.8979 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.01205, allocations: 71.83 kB / 0.898 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.0121, allocations: 8.984 kB / 0.898 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.01219, allocations: 102.2 kB / 0.8981 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.0122, allocations: 0 / 0.8981 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of Templates: time 0.005826/0.01802, allocations: 3.55 MB / 0.9016 GB, free: 13.11 MB / 0.8698 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.50913694081828]