Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001318/0.001318, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00151/0.00151, allocations: 220.8 kB / 23.01 MB, free: 4.605 MB / 14.72 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7958 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 65.61 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002914/0.3328, allocations: 1.511 MB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.334, allocations: 0.6851 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.334, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.932e-05/0.3341, allocations: 15.86 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.3342, allocations: 11.86 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.3351, allocations: 355.3 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.3354, allocations: 179.6 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.3354, allocations: 16 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.3355, allocations: 71.83 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3356, allocations: 47.81 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.3357, allocations: 12 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.3361, allocations: 291.6 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.3362, allocations: 47.77 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.3363, allocations: 55.78 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.3367, allocations: 303 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3367, allocations: 4 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3367, allocations: 0 / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3367, allocations: 0 / 1.331 GB, free: 13.87 MB / 1.029 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.0006429/0.3374, allocations: 413.3 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3374, allocations: 8.031 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.3375, allocations: 16.84 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3377, allocations: 152.2 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3377, allocations: 12.36 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3377, allocations: 8.375 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3379, allocations: 100.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3379, allocations: 192 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3379, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.338, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3381, allocations: 47.91 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.3383, allocations: 222.4 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3385, allocations: 103.9 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.3386, allocations: 66.66 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3386, allocations: 0 / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.3389, allocations: 139.1 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.3389, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004311/0.3393, allocations: 221.3 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.3394, allocations: 118.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3395, allocations: 139.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.3395, allocations: 41.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.3396, allocations: 100.6 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.3397, allocations: 51.62 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.3398, allocations: 61.69 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.34, allocations: 322.8 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3401, allocations: 56.25 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3403, allocations: 177.5 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3405, allocations: 134.4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3405, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003114/0.3408, allocations: 209.4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3408, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.3409, allocations: 8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3409, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.341, allocations: 15.88 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.341, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3412, allocations: 51.78 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3412, allocations: 12 kB / 1.333 GB, free: 10.6 MB / 1.029 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.0001441/0.3414, allocations: 132.9 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3414, allocations: 15.89 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3414, allocations: 20.7 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3414, allocations: 4.141 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3414, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3415, allocations: 3.984 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3416, allocations: 184.5 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3416, allocations: 4 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.3417, allocations: 11.94 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3417, allocations: 0 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3417, allocations: 8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3417, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3417, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.342, allocations: 220.1 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.342, allocations: 15.84 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3421, allocations: 4 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.3421, allocations: 7.922 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.3422, allocations: 15.98 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3422, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.3423, allocations: 113 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003566/0.3426, allocations: 103.8 kB / 1.334 GB, free: 9.664 MB / 1.029 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.0003298/0.3429, allocations: 207 kB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.3433, allocations: 209.9 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3433, allocations: 4 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.3434, allocations: 47.92 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.3436, allocations: 8 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.3441, allocations: 270.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3444, allocations: 0.7122 MB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3445, allocations: 19.44 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3445, allocations: 0 / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of Templates: time 0.005497/0.35, allocations: 3.12 MB / 1.339 GB, free: 5.012 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.270925458986312]