Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 119.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.057 GB, free: 2.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00276/0.3585, allocations: 1.492 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3597, allocations: 0.6937 MB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.3597, allocations: 4 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.967e-05/0.3598, allocations: 11.86 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.3599, allocations: 15.86 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3609, allocations: 342.9 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3612, allocations: 171.7 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.3612, allocations: 8 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.3613, allocations: 71.78 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3614, allocations: 55.73 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3615, allocations: 12 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.3619, allocations: 255.7 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.3619, allocations: 39.91 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/0.362, allocations: 59.72 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3625, allocations: 303.1 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3625, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3625, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3625, allocations: 4 kB / 1.217 GB, free: 13.5 MB / 0.9669 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.0007152/0.3632, allocations: 486.4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3632, allocations: 12.03 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3633, allocations: 8.891 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3635, allocations: 214 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3636, allocations: 8.375 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3636, allocations: 12.38 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3638, allocations: 96.8 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3638, allocations: 4.125 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3638, allocations: 7.938 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3638, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.3639, allocations: 43.97 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.3643, allocations: 247.4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3644, allocations: 99.83 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3645, allocations: 74.69 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3646, allocations: 3.938 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.3648, allocations: 141.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.3648, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0004375/0.3653, allocations: 217.4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.3654, allocations: 118.8 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3655, allocations: 139.5 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.3655, allocations: 37.69 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.3656, allocations: 104.7 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.3657, allocations: 55.58 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.3658, allocations: 57.69 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3659, allocations: 326.8 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.366, allocations: 56.25 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3663, allocations: 184.3 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3665, allocations: 130.5 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3665, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003097/0.3668, allocations: 205.2 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3668, allocations: 4 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.3668, allocations: 8 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3668, allocations: 8 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.3669, allocations: 19.92 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3669, allocations: 7.938 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3672, allocations: 43.84 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3672, allocations: 8 kB / 1.221 GB, free: 10.04 MB / 0.9669 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.000137/0.3673, allocations: 140 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3674, allocations: 15.84 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.3674, allocations: 16.72 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3674, allocations: 4 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3674, allocations: 0 / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3674, allocations: 0 / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3676, allocations: 217.4 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3676, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.3677, allocations: 12 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3677, allocations: 0 / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3677, allocations: 7.984 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3677, allocations: 0 / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3677, allocations: 0 / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.368, allocations: 214.6 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.368, allocations: 93.09 kB / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3681, allocations: 11.97 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.3681, allocations: 7.938 kB / 1.221 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.3682, allocations: 11.98 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.3682, allocations: 8 kB / 1.221 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.3683, allocations: 109 kB / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 0 / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003879/0.3687, allocations: 103.8 kB / 1.221 GB, free: 8.984 MB / 0.9669 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.0003418/0.369, allocations: 199.2 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3694, allocations: 213 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3694, allocations: 0 / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/0.3695, allocations: 47.92 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.3697, allocations: 14.25 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.3702, allocations: 287.5 kB / 1.222 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3706, allocations: 0.7084 MB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3707, allocations: 15.44 kB / 1.223 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/0.3707, allocations: 0 / 1.223 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.005886/0.3765, allocations: 3.122 MB / 1.226 GB, free: 4.324 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.253384064184502]