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.001367/0.001367, allocations: 104.3 kB / 19.71 MB, free: 2.141 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.001486/0.001486, allocations: 209.5 kB / 22.99 MB, free: 4.969 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.743/2.743, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] 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.002081/0.002081, allocations: 70.94 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3429, allocations: 169.9 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002888/0.3458, allocations: 1.478 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.347, allocations: 0.648 MB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.347, allocations: 0 / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.764e-05/0.3471, allocations: 7.875 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.162e-05/0.3472, allocations: 19.84 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3482, allocations: 359.8 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3485, allocations: 175.6 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.3485, allocations: 3.984 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.3486, allocations: 75.77 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.3487, allocations: 43.83 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3487, allocations: 12 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.3492, allocations: 283.6 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.3493, allocations: 35.91 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.3493, allocations: 51.78 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.3498, allocations: 311 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3498, allocations: 0 / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3498, allocations: 4 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3498, allocations: 0 / 1.287 GB, free: 8.453 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.0006546/0.3504, allocations: 401.4 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3505, allocations: 8.031 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.3505, allocations: 16.84 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3508, allocations: 148.9 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3508, allocations: 12.31 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3508, allocations: 8.375 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.351, allocations: 100.7 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.351, allocations: 4.188 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3511, allocations: 7.922 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3511, allocations: 4 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3512, allocations: 43.92 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.3514, allocations: 171.1 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3516, allocations: 103.9 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3517, allocations: 66.66 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3517, allocations: 7.984 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.352, allocations: 137.8 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.352, allocations: 4 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004369/0.3524, allocations: 213.5 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.3525, allocations: 118.7 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3527, allocations: 141.8 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.3527, allocations: 37.64 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3528, allocations: 96.62 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.3529, allocations: 55.59 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.353, allocations: 61.69 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3531, allocations: 326.8 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.3532, allocations: 52.27 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.3536, allocations: 463.2 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3539, allocations: 138.5 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3539, allocations: 4 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003204/0.3542, allocations: 197.3 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3542, allocations: 9.719 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.3542, allocations: 8.938 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3542, allocations: 0 / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.3543, allocations: 15.94 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3544, allocations: 3.984 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3546, allocations: 51.8 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3546, allocations: 8 kB / 1.29 GB, free: 4.918 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.0001455/0.3547, allocations: 136.5 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3548, allocations: 11.89 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3548, allocations: 16.7 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3548, allocations: 3.938 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3548, allocations: 4 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3548, allocations: 0 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.355, allocations: 141.2 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.355, allocations: 0 / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.355, allocations: 16 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3551, allocations: 7.922 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3551, allocations: 8 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3551, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3551, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3554, allocations: 221.5 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.3554, allocations: 15.88 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3554, allocations: 4 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.3555, allocations: 4.141 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3556, allocations: 19.91 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3556, allocations: 8 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.3557, allocations: 115.2 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003803/0.356, allocations: 103.8 kB / 1.291 GB, free: 4.031 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.0003262/0.3564, allocations: 194.9 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3567, allocations: 212.9 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3567, allocations: 0 / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3568, allocations: 51.92 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.357, allocations: 16.2 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.3576, allocations: 278.3 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.3577, allocations: 92.62 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.3577, allocations: 11.44 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3577, allocations: 4 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.005903/0.3636, allocations: 3.154 MB / 1.295 GB, free: 15.97 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/jenkins1/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: 11.521803888026625]