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.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.001459/0.001459, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001617/0.001617, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.519/1.519, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.814/2.814, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 2.795e-06/2.795e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.726e-05/4.006e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004586/0.004626, allocations: 1.481 MB / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.006564, allocations: 0.6581 MB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.006667, allocations: 0 / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.006796, allocations: 11.86 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.006929, allocations: 19.86 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.00855, allocations: 355.6 kB / 0.9534 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.008928, allocations: 175.6 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.008991, allocations: 4 kB / 0.9535 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.009171, allocations: 95.84 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.009292, allocations: 47.88 kB / 0.9537 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.009341, allocations: 16 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.009974, allocations: 271.5 kB / 0.954 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.01008, allocations: 39.89 kB / 0.954 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.0102, allocations: 43.89 kB / 0.954 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.01089, allocations: 355.1 kB / 0.9544 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.01089, allocations: 0 / 0.9544 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.0109, allocations: 0 / 0.9544 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.01091, allocations: 7.938 kB / 0.9544 GB, free: 8.066 MB / 0.8575 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.0008836/0.01179, allocations: 405.3 kB / 0.9548 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.01185, allocations: 8.031 kB / 0.9548 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.01194, allocations: 20.84 kB / 0.9548 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.01226, allocations: 145.6 kB / 0.9549 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.01229, allocations: 12.36 kB / 0.955 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.01233, allocations: 8.375 kB / 0.955 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.01261, allocations: 102.8 kB / 0.9551 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01262, allocations: 192 / 0.9551 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.01264, allocations: 8.312 kB / 0.9551 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.01264, allocations: 384 / 0.9551 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.01279, allocations: 47.91 kB / 0.9551 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.01313, allocations: 171.1 kB / 0.9553 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01335, allocations: 103.8 kB / 0.9554 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.01351, allocations: 62.7 kB / 0.9554 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.01353, allocations: 7.938 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.01384, allocations: 143.7 kB / 0.9556 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 3.967e-06/0.01384, allocations: 3.984 kB / 0.9556 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006407/0.01448, allocations: 217.4 kB / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.01463, allocations: 114.8 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.01483, allocations: 144 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.01488, allocations: 33.7 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.01498, allocations: 96.62 kB / 0.9562 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.01507, allocations: 59.58 kB / 0.9562 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.01529, allocations: 61.69 kB / 0.9563 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.0155, allocations: 326.8 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.01564, allocations: 52.25 kB / 0.9566 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.01618, allocations: 471.2 kB / 0.9571 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01648, allocations: 130.5 kB / 0.9572 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.01648, allocations: 8 kB / 0.9572 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004664/0.01695, allocations: 197.4 kB / 0.9574 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.01697, allocations: 4 kB / 0.9574 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.017, allocations: 4 kB / 0.9574 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.01703, allocations: 7.938 kB / 0.9574 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01716, allocations: 23.92 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01717, allocations: 3.938 kB / 0.9574 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.01748, allocations: 47.84 kB / 0.9575 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.0175, allocations: 4 kB / 0.9575 GB, free: 4.523 MB / 0.8575 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.000176/0.01767, allocations: 144.4 kB / 0.9576 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.01772, allocations: 11.91 kB / 0.9576 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.01776, allocations: 16.72 kB / 0.9577 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.01777, allocations: 11.94 kB / 0.9577 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01778, allocations: 0 / 0.9577 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01778, allocations: 0 / 0.9577 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.01797, allocations: 133.3 kB / 0.9578 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.01798, allocations: 4 kB / 0.9578 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.01804, allocations: 11.98 kB / 0.9578 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01804, allocations: 0 / 0.9578 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.01807, allocations: 8 kB / 0.9578 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01807, allocations: 0 / 0.9578 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.01808, allocations: 3.938 kB / 0.9578 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.0185, allocations: 214.6 kB / 0.958 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.01853, allocations: 23.84 kB / 0.9581 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.01856, allocations: 0 / 0.9581 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.01863, allocations: 4 kB / 0.9581 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.01871, allocations: 11.98 kB / 0.9581 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.01874, allocations: 7.984 kB / 0.9581 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001078/0.01885, allocations: 103.3 kB / 0.9582 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01885, allocations: 0 / 0.9582 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006193/0.01946, allocations: 103.8 kB / 0.9583 GB, free: 3.66 MB / 0.8575 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.0005204/0.01998, allocations: 226.8 kB / 0.9585 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.02047, allocations: 206.2 kB / 0.9587 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.02047, allocations: 0 / 0.9587 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.02061, allocations: 55.88 kB / 0.9587 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.02087, allocations: 8 kB / 0.9587 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.02153, allocations: 244 kB / 0.959 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02165, allocations: 96.81 kB / 0.9591 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.02171, allocations: 12.97 kB / 0.9591 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.02175, allocations: 16.5 kB / 0.9591 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.02175, allocations: 0 / 0.9591 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.009074/0.03083, allocations: 3.233 MB / 0.9623 GB, free: 15.55 MB / 0.8731 GB " [Timeout remaining time 300] 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: 8.40928578749299]