Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001807/0.001807, allocations: 186 kB / 20.78 MB, free: 1.547 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.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.043/3.043, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.107 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387/1.389, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002997/1.392, allocations: 1.502 MB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001331/1.393, allocations: 0.7009 MB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/1.393, allocations: 0.9375 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/1.393, allocations: 13.44 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/1.394, allocations: 14.39 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/1.395, allocations: 346.6 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/1.395, allocations: 164.6 kB / 1.275 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.389e-05/1.395, allocations: 9.766 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/1.395, allocations: 72.73 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/1.395, allocations: 52.97 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/1.395, allocations: 11.56 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/1.396, allocations: 257.2 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/1.396, allocations: 33.2 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/1.396, allocations: 64.14 kB / 1.275 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/1.397, allocations: 310.7 kB / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.397, allocations: 0 / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.066e-06/1.397, allocations: 0.6875 kB / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.397, allocations: 4.797 kB / 1.275 GB, free: 5.895 MB / 0.9981 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.0007207/1.397, allocations: 473.3 kB / 1.276 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.397, allocations: 9.844 kB / 1.276 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/1.397, allocations: 13.03 kB / 1.276 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/1.398, allocations: 208.8 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.398, allocations: 9.859 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/1.398, allocations: 10.52 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/1.398, allocations: 107.3 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.398, allocations: 1.156 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.398, allocations: 8.969 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.398, allocations: 1.031 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.398, allocations: 49.62 kB / 1.276 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/1.398, allocations: 246.2 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/1.399, allocations: 106.2 kB / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.399, allocations: 61.72 kB / 1.277 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/1.399, allocations: 1.594 kB / 1.277 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/1.399, allocations: 144.1 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/1.399, allocations: 0 / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004773/1.4, allocations: 219.9 kB / 1.277 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.4, allocations: 115.8 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.4, allocations: 141.2 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/1.4, allocations: 39.08 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/1.4, allocations: 100.4 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/1.4, allocations: 59.19 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.4, allocations: 65.83 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/1.4, allocations: 327.8 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.4, allocations: 53.08 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/1.4, allocations: 175.1 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/1.401, allocations: 142 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.401, allocations: 0 / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003163/1.401, allocations: 196.7 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.401, allocations: 8.734 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.401, allocations: 3.531 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.401, allocations: 5.844 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.401, allocations: 10.78 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.401, allocations: 6.594 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/1.401, allocations: 53.73 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/1.401, allocations: 6.266 kB / 1.278 GB, free: 3.438 MB / 0.9981 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.0001123/1.401, allocations: 132.2 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.401, allocations: 21.12 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/1.402, allocations: 17.75 kB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.402, allocations: 3.234 kB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.402, allocations: 4.859 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.402, allocations: 1.656 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/1.402, allocations: 212.5 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/1.402, allocations: 0.9688 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/1.402, allocations: 15.28 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.402, allocations: 1.781 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.402, allocations: 6.375 kB / 1.279 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.402, allocations: 1.75 kB / 1.279 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.402, allocations: 4.938 kB / 1.279 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/1.402, allocations: 207.4 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/1.402, allocations: 95.66 kB / 1.279 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/1.402, allocations: 5.844 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/1.402, allocations: 13.36 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/1.402, allocations: 12.12 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.402, allocations: 4.562 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.014e-05/1.402, allocations: 108.2 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.402, allocations: 0 / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004869/1.403, allocations: 100.5 kB / 1.279 GB, free: 2.699 MB / 0.9981 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.0004001/1.403, allocations: 203.4 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003775/1.404, allocations: 209.1 kB / 1.28 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.404, allocations: 3.938 kB / 1.28 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/1.404, allocations: 45.62 kB / 1.28 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/1.404, allocations: 11.92 kB / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/1.404, allocations: 257.9 kB / 1.28 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/1.405, allocations: 0.7146 MB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.125e-05/1.405, allocations: 15.53 kB / 1.281 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/1.405, allocations: 14.69 kB / 1.281 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.405, allocations: 0 / 1.281 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.008534/1.413, allocations: 3.144 MB / 1.284 GB, free: 1.207 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: 10.524296530522406]