Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 109.6 kB / 15.99 MB, free: 6.355 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.001257/0.001257, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.512/1.512, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.513/2.513, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 60.91 kB / 0.8127 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3565, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004136/0.3607, allocations: 1.539 MB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3622, allocations: 0.6969 MB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.3623, allocations: 0 / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3625, allocations: 7.922 kB / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3626, allocations: 15.86 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.364, allocations: 311.1 kB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.3644, allocations: 175.6 kB / 0.9524 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.524e-05/0.3645, allocations: 8 kB / 0.9524 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3646, allocations: 71.83 kB / 0.9525 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3647, allocations: 51.75 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3648, allocations: 12 kB / 0.9526 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3653, allocations: 247.8 kB / 0.9528 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3654, allocations: 39.91 kB / 0.9528 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3655, allocations: 59.7 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.366, allocations: 211.9 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.366, allocations: 4 kB / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.366, allocations: 0 / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.366, allocations: 0 / 0.9531 GB, free: 5.793 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.0009538/0.367, allocations: 478.9 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3671, allocations: 8.031 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3672, allocations: 20.73 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3675, allocations: 214 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3675, allocations: 4.375 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3675, allocations: 16.38 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3678, allocations: 92.8 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3678, allocations: 4.125 kB / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3678, allocations: 7.938 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3678, allocations: 0 / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.368, allocations: 43.97 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.3683, allocations: 251.3 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3685, allocations: 111.8 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3686, allocations: 70.7 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3686, allocations: 3.938 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.369, allocations: 137.9 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/0.369, allocations: 0 / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0004557/0.3694, allocations: 221.2 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.3696, allocations: 114.8 kB / 0.9548 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3697, allocations: 143.7 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3697, allocations: 37.7 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.3698, allocations: 96.69 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.3699, allocations: 63.19 kB / 0.9552 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.37, allocations: 61.69 kB / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3702, allocations: 326.8 kB / 0.9555 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3703, allocations: 52.19 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3705, allocations: 184.5 kB / 0.9557 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.3707, allocations: 126.5 kB / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3707, allocations: 4 kB / 0.9559 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003192/0.371, allocations: 205.2 kB / 0.9561 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3711, allocations: 12 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.3711, allocations: 4 kB / 0.9561 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3711, allocations: 0 / 0.9561 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3713, allocations: 19.92 kB / 0.9561 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3713, allocations: 0 / 0.9561 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3715, allocations: 47.55 kB / 0.9561 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3715, allocations: 15.94 kB / 0.9562 GB, free: 2.32 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.0001672/0.3717, allocations: 139.5 kB / 0.9563 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3717, allocations: 19.83 kB / 0.9563 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3718, allocations: 16.72 kB / 0.9563 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3718, allocations: 0 / 0.9563 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3718, allocations: 144 / 0.9563 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3718, allocations: 7.984 kB / 0.9563 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.372, allocations: 213.4 kB / 0.9565 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.372, allocations: 0 / 0.9565 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.3721, allocations: 8 kB / 0.9566 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3721, allocations: 0 / 0.9566 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3721, allocations: 4 kB / 0.9566 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3721, allocations: 7.984 kB / 0.9566 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.3721, allocations: 7.938 kB / 0.9566 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3724, allocations: 209.4 kB / 0.9568 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.3725, allocations: 85.02 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3725, allocations: 7.984 kB / 0.9569 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.3726, allocations: 11.88 kB / 0.9569 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.3726, allocations: 15.98 kB / 0.9569 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3726, allocations: 4 kB / 0.9569 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.3727, allocations: 105.6 kB / 0.957 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 0 / 0.957 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003832/0.3731, allocations: 99.92 kB / 0.9571 GB, free: 1.281 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.000343/0.3735, allocations: 211 kB / 0.9573 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3738, allocations: 217.3 kB / 0.9575 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3738, allocations: 8 kB / 0.9575 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.3739, allocations: 55.92 kB / 0.9576 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3741, allocations: 10.39 kB / 0.9576 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.3747, allocations: 318.4 kB / 0.9579 GB, free: 424 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.375, allocations: 0.7045 MB / 0.9586 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.3751, allocations: 19.38 kB / 0.9586 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3751, allocations: 0 / 0.9586 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.005634/0.3807, allocations: 3.11 MB / 0.9616 GB, free: 12.57 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time