Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 104.8 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 193.1 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.702/2.702, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 70.97 kB / 0.8127 GB, free: 32.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3339, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003769/0.3377, allocations: 1.546 MB / 0.9513 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3392, allocations: 0.7008 MB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.3393, allocations: 0 / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3394, allocations: 3.938 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3396, allocations: 15.91 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3409, allocations: 311.4 kB / 0.9523 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.3412, allocations: 167.6 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.3413, allocations: 4 kB / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3414, allocations: 71.83 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3415, allocations: 51.77 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.3416, allocations: 12 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.342, allocations: 251.7 kB / 0.9528 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.3421, allocations: 39.89 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3423, allocations: 63.72 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.3426, allocations: 211.9 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3426, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3426, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3426, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 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.0007113/0.3433, allocations: 482.9 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3434, allocations: 12.03 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.3435, allocations: 20.75 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3437, allocations: 208.1 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3437, allocations: 4.375 kB / 0.9538 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3438, allocations: 16.36 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.344, allocations: 107.1 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.344, allocations: 192 / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.344, allocations: 3.938 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.344, allocations: 4 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3441, allocations: 47.97 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3444, allocations: 243.3 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3446, allocations: 107.9 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.3447, allocations: 70.67 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3447, allocations: 11.92 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.3451, allocations: 139.9 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3451, allocations: 0 / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0004327/0.3455, allocations: 226 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.3456, allocations: 110.8 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3457, allocations: 145.8 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.3458, allocations: 33.7 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.3458, allocations: 96.69 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.3459, allocations: 59.2 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.346, allocations: 61.69 kB / 0.9552 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3462, allocations: 330.8 kB / 0.9555 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3463, allocations: 52.25 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3465, allocations: 176.5 kB / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.3467, allocations: 134.5 kB / 0.9559 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3467, allocations: 0 / 0.9559 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002998/0.347, allocations: 205.2 kB / 0.9561 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.347, allocations: 4 kB / 0.9561 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.3471, allocations: 11.98 kB / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3471, allocations: 0 / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3472, allocations: 12 kB / 0.9561 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3472, allocations: 4 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3474, allocations: 47.8 kB / 0.9562 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3474, allocations: 11.98 kB / 0.9562 GB, free: 2.344 MB / 0.7325 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.0001336/0.3476, allocations: 144.1 kB / 0.9563 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3476, allocations: 15.84 kB / 0.9563 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.3477, allocations: 12.7 kB / 0.9563 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3477, allocations: 4 kB / 0.9563 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3477, allocations: 0 / 0.9563 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3477, allocations: 4 kB / 0.9563 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3479, allocations: 213.4 kB / 0.9565 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3479, allocations: 4 kB / 0.9565 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.3479, allocations: 8 kB / 0.9565 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3479, allocations: 0 / 0.9565 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.348, allocations: 11.94 kB / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.348, allocations: 4 kB / 0.9566 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.348, allocations: 4 kB / 0.9566 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3482, allocations: 210.5 kB / 0.9568 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3483, allocations: 85.02 kB / 0.9568 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3484, allocations: 4 kB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.3484, allocations: 15.92 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3485, allocations: 7.938 kB / 0.9569 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3485, allocations: 11.98 kB / 0.9569 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.3486, allocations: 109.8 kB / 0.957 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3486, allocations: 0 / 0.957 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003449/0.3489, allocations: 99.92 kB / 0.9571 GB, free: 1.293 MB / 0.7325 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.0003497/0.3493, allocations: 211.1 kB / 0.9573 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.3496, allocations: 209 kB / 0.9575 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3497, allocations: 0 / 0.9575 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3498, allocations: 63.91 kB / 0.9575 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.3499, allocations: 8 kB / 0.9576 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.3505, allocations: 318.3 kB / 0.9579 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3508, allocations: 0.7162 MB / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.3508, allocations: 19.44 kB / 0.9586 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3508, allocations: 0 / 0.9586 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.005608/0.3565, allocations: 3.111 MB / 0.9616 GB, free: 12.58 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches