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.001602/0.001602, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001751/0.001751, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002099/0.002099, allocations: 69.91 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002876/0.3713, allocations: 1.49 MB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3726, allocations: 0.6402 MB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.3727, allocations: 0 / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.3727, allocations: 7.922 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.3728, allocations: 15.86 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3739, allocations: 373 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.3742, allocations: 167.7 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.3743, allocations: 4 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.3744, allocations: 67.83 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3745, allocations: 59.73 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.3745, allocations: 12 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.375, allocations: 271.7 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.375, allocations: 39.91 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.3751, allocations: 55.77 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.3756, allocations: 303 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3756, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3756, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3756, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 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.0007053/0.3763, allocations: 401.4 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3764, allocations: 12.03 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.3765, allocations: 12.84 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3767, allocations: 154.3 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3767, allocations: 8.359 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3768, allocations: 12.38 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.377, allocations: 103.5 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.377, allocations: 192 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.377, allocations: 3.938 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.377, allocations: 3.938 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3771, allocations: 47.97 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.3774, allocations: 174.9 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3776, allocations: 99.83 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3777, allocations: 74.69 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3777, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.378, allocations: 141.8 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.378, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004545/0.3784, allocations: 213.9 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3785, allocations: 118.8 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3787, allocations: 133.8 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3787, allocations: 37.7 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3788, allocations: 100.6 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.3789, allocations: 59.58 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.379, allocations: 61.69 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3792, allocations: 334.8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.3793, allocations: 48.25 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.3797, allocations: 470.3 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.3799, allocations: 122.6 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3799, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003227/0.3802, allocations: 205.4 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3802, allocations: 7.938 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.3803, allocations: 4 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3803, allocations: 4 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.3804, allocations: 19.98 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3804, allocations: 4 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3806, allocations: 47.8 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3806, allocations: 8 kB / 1.289 GB, free: 4.965 MB / 0.9825 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.0001544/0.3808, allocations: 140.4 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3808, allocations: 15.89 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3808, allocations: 8.719 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3808, allocations: 4 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3809, allocations: 8 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3809, allocations: 0 / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.381, allocations: 145.2 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.381, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.3811, allocations: 11.98 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3811, allocations: 3.938 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3811, allocations: 8 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3811, allocations: 3.938 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3811, allocations: 4 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3814, allocations: 213.8 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3814, allocations: 15.83 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3815, allocations: 8 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.3815, allocations: 8 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3816, allocations: 16.05 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3816, allocations: 7.984 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001458/0.3817, allocations: 113.1 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 0 / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003816/0.3821, allocations: 99.8 kB / 1.29 GB, free: 4.082 MB / 0.9825 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.000326/0.3824, allocations: 202.9 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.3828, allocations: 209 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3828, allocations: 0 / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3829, allocations: 51.89 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.3831, allocations: 8 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.3836, allocations: 252.5 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3838, allocations: 96.62 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.3838, allocations: 12.97 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3838, allocations: 11.44 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3838, allocations: 4 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of Templates: time 0.007234/0.3911, allocations: 3.295 MB / 1.294 GB, free: 15.93 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.638665217906237]