Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.0009971/0.0009971, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001017/0.001017, allocations: 169.7 kB / 23.27 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 0.9702/0.9702, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.344/2.344, allocations: 438.1 MB / 0.682 GB, free: 14.12 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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.739e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001729/0.001746, allocations: 1.532 MB / 0.8912 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.002524, allocations: 0.638 MB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.002564, allocations: 0 / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.002639, allocations: 19.86 kB / 0.8918 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.002705, allocations: 19.84 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.003567, allocations: 354.9 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003754, allocations: 171.6 kB / 0.8924 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.0038, allocations: 4 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.003895, allocations: 91.86 kB / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.67e-05/0.003962, allocations: 47.88 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.003987, allocations: 12 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.004277, allocations: 283.5 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.004329, allocations: 31.91 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.004379, allocations: 47.89 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.004673, allocations: 323.2 kB / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004675, allocations: 0 / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004676, allocations: 0 / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.004681, allocations: 0 / 0.8932 GB, free: 6.203 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.0004569/0.005138, allocations: 0.5074 MB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005175, allocations: 8.625 kB / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.005221, allocations: 16.89 kB / 0.8937 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.005368, allocations: 162.5 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.005382, allocations: 8.375 kB / 0.8938 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.005401, allocations: 12.38 kB / 0.8939 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.005512, allocations: 89.2 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.005519, allocations: 192 / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.005526, allocations: 384 / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005532, allocations: 4.375 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.005571, allocations: 31.89 kB / 0.894 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.005727, allocations: 172.6 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.00581, allocations: 97.25 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.005861, allocations: 59.2 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.00587, allocations: 4 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.006006, allocations: 131.9 kB / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 9.22e-07/0.006007, allocations: 0 / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0002458/0.006253, allocations: 150.2 kB / 0.8946 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.006313, allocations: 122.7 kB / 0.8947 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.00642, allocations: 195.9 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.006445, allocations: 37.7 kB / 0.8949 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.006509, allocations: 151.3 kB / 0.895 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.006561, allocations: 59.5 kB / 0.8951 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.006624, allocations: 67.31 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.00678, allocations: 0.4962 MB / 0.8956 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.006811, allocations: 20.27 kB / 0.8957 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.00704, allocations: 444 kB / 0.8961 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.007126, allocations: 106.9 kB / 0.8962 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.007136, allocations: 0 / 0.8962 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001449/0.007281, allocations: 149.4 kB / 0.8963 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007292, allocations: 8 kB / 0.8963 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.007311, allocations: 4 kB / 0.8963 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.007323, allocations: 4 kB / 0.8964 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.007405, allocations: 27.92 kB / 0.8964 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.007411, allocations: 12.11 kB / 0.8964 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/0.007504, allocations: 31.86 kB / 0.8964 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.007513, allocations: 8 kB / 0.8964 GB, free: 2.434 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.000186/0.007699, allocations: 179.3 kB / 0.8966 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.007717, allocations: 19.89 kB / 0.8966 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.007744, allocations: 20.77 kB / 0.8966 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007746, allocations: 0 / 0.8966 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.00775, allocations: 3.938 kB / 0.8966 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007754, allocations: 7.938 kB / 0.8966 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.639e-05/0.007841, allocations: 125.1 kB / 0.8968 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.007843, allocations: 4 kB / 0.8968 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.007867, allocations: 11.98 kB / 0.8968 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007868, allocations: 0 / 0.8968 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.007876, allocations: 8 kB / 0.8968 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007877, allocations: 4 kB / 0.8968 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.007879, allocations: 7.984 kB / 0.8968 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.008032, allocations: 189.2 kB / 0.897 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.008046, allocations: 19.78 kB / 0.897 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.008063, allocations: 8 kB / 0.897 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.008097, allocations: 3.984 kB / 0.897 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.008134, allocations: 11.98 kB / 0.897 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.008139, allocations: 4 kB / 0.897 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.008183, allocations: 139.2 kB / 0.8972 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008183, allocations: 0 / 0.8972 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002192/0.008402, allocations: 103.8 kB / 0.8973 GB, free: 1.508 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.0002214/0.008623, allocations: 222.3 kB / 0.8975 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.00881, allocations: 180.6 kB / 0.8976 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008812, allocations: 0 / 0.8976 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.008851, allocations: 39.59 kB / 0.8977 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.008972, allocations: 15.92 kB / 0.8977 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.009271, allocations: 225.8 kB / 0.8979 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.009311, allocations: 75.83 kB / 0.898 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.009343, allocations: 8.984 kB / 0.898 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.009425, allocations: 102.2 kB / 0.8981 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.009425, allocations: 4 kB / 0.8981 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of Templates: time 0.005189/0.01461, allocations: 3.53 MB / 0.9015 GB, free: 13.09 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.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.330982920248061]